#69 - Range Issue Debugging
This commit is contained in:
parent
ec36a93ac0
commit
df28b4e8fb
|
@ -245,9 +245,11 @@ public class RangeEvent extends DelayedEvent {
|
||||||
|
|
||||||
if (npc.isBusy() || npc.getChasing() != null)
|
if (npc.isBusy() || npc.getChasing() != null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
npc.resetPath();
|
npc.resetPath();
|
||||||
|
player.getActionSender().sendMessage("npc.resetPath");
|
||||||
npc.setChasing(player);
|
npc.setChasing(player);
|
||||||
|
player.getActionSender().sendMessage("npc chasing" + player);
|
||||||
|
|
||||||
// Radius is 0 to prevent wallhacking by NPCs. Easiest
|
// Radius is 0 to prevent wallhacking by NPCs. Easiest
|
||||||
// method I
|
// method I
|
||||||
|
@ -260,9 +262,12 @@ public class RangeEvent extends DelayedEvent {
|
||||||
this.stop();
|
this.stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
player.getActionSender().sendMessage("WalkMobToMobEvent finish");
|
player.getActionSender().sendMessage("WalkMobToMobEvent finish")
|
||||||
|
;
|
||||||
|
player.getActionSender().sendMessage("attempt npc.resetPath");
|
||||||
npc.resetPath();
|
npc.resetPath();
|
||||||
|
|
||||||
|
|
||||||
player.getActionSender().sendMessage("npc.resetPath");
|
player.getActionSender().sendMessage("npc.resetPath");
|
||||||
player.setBusy(true);
|
player.setBusy(true);
|
||||||
player.getActionSender().sendMessage("setbusy");
|
player.getActionSender().sendMessage("setbusy");
|
||||||
|
|
Loading…
Reference in New Issue