Are we just supposed to magically know what your base is?
|
This code is ripped from soulsplit source! ! I want to know if anyone can customize it for it to work for my server please? its a 317 614 animations its heavenx source de bugged tho~!
Code:private int fRing; private void handleFericiousRings() { boolean wearingFericiousRing = equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_1 || equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_2 || equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_3 || equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_4 || equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_5; if (!wearingFericiousRing) { return; } if (this.isDead()) { return; } int heal = 1; switch (equipmentItems[Equipment.SLOT_RING]) { case ItemIdentifiers.FEROCIOUS_RING_5: { heal = 10; break; } case ItemIdentifiers.FEROCIOUS_RING_4: { heal = 8; break; } case ItemIdentifiers.FEROCIOUS_RING_3: { heal = 6; break; } case ItemIdentifiers.FEROCIOUS_RING_2: { heal = 4; break; } case ItemIdentifiers.FEROCIOUS_RING_1: { heal = 2; } } if (levels[Skills.HITPOINTS] + heal > playerAssistant .getLevelForExperience(Skills.HITPOINTS)) { return; } if (fRing % 10 == 0) { playerAssistant.restoreSkill(Skills.HITPOINTS, heal); this.sendMessage("The fericious ring heals you " + heal + " HP"); this.gfx0(1549); } if (fRing == (Integer.MAX_VALUE - 1)) { fRing = 1; } fRing++; }
Are we just supposed to magically know what your base is?
its a 317 614 animations its heavenx source de bugged tho~!
bump!
Probably a pi of you're still wondering what base..
I'm assuming all this ring does is heal the user by a certain amount of points depending on what ring you have? That's rather simple to do..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |