check your attackplayer method for smite and see what you can find
|
prayer always drains when u hit with melee
without smite
check your attackplayer method for smite and see what you can find
Code:public void applySmite(int index, int damage) { if (!c.prayerActive[23]) return; if (damage <= 0) return; if (Server.playerHandler.players[index] != null) { Client c2 = (Client)Server.playerHandler.players[index]; c2.playerLevel[5] -= (int)(damage/4); if (c2.playerLevel[5] <= 0) { c2.playerLevel[5] = 0; c2.getCombat().resetPrayers(); } c2.getPA().refreshSkill(5); } }
this makes u smite without any smite prayers on
What source are you using btw?
O.T can't see anything wrong with that tbh
check where applySmite method is being called
....
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |