bumppppppp
|
Ok so I want to do something pretty simple, I want to make it so that the arma boss and his minions cannot be attacked with melee (becuase they are flying npcs and melee shouldn't work on them, I believe runescape is like this too).
So please write it for me, I tried for like an hour and just couldn't get it...
Heres my combatassistant class:
Rune-Server Official Pastebin
bumppppppp
bump
Here you go
Add this in the void attackNpc
Thn add this somewhereCode:if (armaNpc(i) && !usingCross && !usingBow && !c.usingMagic && !usingCrystalBow() && !usingOtherRangeWeapons) { resetPlayerAttack(); return; }
Code:public boolean armaNpc(int i) { switch (Server.npcHandler.npcs[i].npcType) { case 2558: case 2559: case 2560: case 2561: return true; } return false; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |