look how your playercombat does it. try figuring out how it works, and implement it in your class.
|
|

look how your playercombat does it. try figuring out how it works, and implement it in your class.
lol! at demon and think there was released noclip tut for stopping the noclipping of npcs trough objects not sure but it might help aswell with npcs if not just convert it so it works for npcs.
NPC n = Engine.npcs[p.attackNpc];
for (NPC en : Engine.Npcs) {
if (n.absX == en.absX && n.absY == en.absY) {
en.absX--;
}
}
Something like that try.
| « z525 Banking and Trading | [508] Verify Help? » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |