It's called auto retaliate, turn it off.
|
Hello I'm just developing a server for my team and I to play while were botting on 07scape and I'm having this problem where
lets say I'm attack you with a whip then equip a staff of light it continues to attack with staff of light.
Help would be appriciated.
Nothing to do with auto-retaliate.
OT: I assume you're using PI, if so;
In WearItem class (.java), under;
There should be something similar to;Code:int oldCombatTimer = c.attackTimer;
Replace it with;Code:if (c.playerIndex > 0 || c.npcIndex > 0)
Code:if ((c.playerIndex > 0 || c.npcIndex > 0) && c.wearId != 4153)
That code was already on there:/
The Current Code
Code:int oldCombatTimer = c.attackTimer; if ((c.playerIndex > 0 || c.npcIndex > 0) && c.wearId != 4153) c.getCombat().resetPlayerAttack(); if (c.wearId >= 5509 && c.wearId <= 5515) { int pouch = -1; int a = c.wearId; if (a == 5509) pouch = 0; if (a == 5510) pouch = 1; if (a == 5512) pouch = 2; if (a == 5514) pouch = 3; c.getPA().emptyPouch(pouch); return; } //c.attackTimer = oldCombatTimer; if (!c.inTrade) { c.getItems().wearItem(c.wearId, c.wearSlot);
Still need help on this one :x
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |