-
Posts
1383 -
Joined
-
Last visited
-
Feedback
95.2%
Posts posted by Mr Asshole
-
-
Use of filters is more efficient. Also, NPC#isUnderAttack is bad.
I'm not seeing anything related to filters in the api. Care to explain?
-
L2spell? Lol what did i spell wrong?
More input please and your love for adriana grande is slightly disturbing.Filterrrrsss.
You're disturbing. l2spell
-
More input please and your love for adriana grande is slightly disturbing.Filterrrrsss.
-
Fixed thanks.nice only that i see NPCs there useless as you can just do
for(NPC i:enemies){
...
}
-
Decided to share this as the get closestAttackableNPC wasn't working that great for me. Enjoy guys
private NPC getTarget(int [] ids){ List<NPC> NPCs = closestNPCList(ids); for (NPC i:NPCs){ if (i.getFacing() == null && !i.isAnimating()){ return i; } } return null; }
Combat snippet
in Snippets
Posted
Updated according to your comments.