mirror of
https://github.com/moparisthebest/MoparClassic
synced 2025-02-28 16:31:45 -05:00
Fix range skill
Fix player suddenly stopping ranged attacks.
This commit is contained in:
parent
467c8ec594
commit
b362dcf930
@ -304,6 +304,10 @@ public class RangeEvent extends DelayedEvent {
|
||||
npc.setChasing(null);
|
||||
}
|
||||
});
|
||||
// target is still alive? is still around?
|
||||
if (!npc.isRemoved() || owner.withinRange(npc)) {
|
||||
return;
|
||||
}
|
||||
this.stop();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user