Dear rune-server,
I am requesting a nex minion combat script, not the NexMinion.java NPC class, I'm requesting a class for the combat script specifically since I know most servers lack it.
Additionally, I here will provide source code for proper animations/game messages for nex minions that were left out of the one from matrix 718/742
Code:
@Override
public void handleIngoingHit(Hit hit) {
if (!hasNoBarrier && hit.getSource() instanceof Player) {
setNextGraphics(new Graphics(1549));
((Player)hit.getSource()).getPackets().sendGameMessage("The avatar is not weak enough to damage this minion.");
hit.setDamage(0);
} else
super.handleIngoingHit(hit);
}