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);
|
npc.setChasing(null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
// target is still alive? is still around?
|
||||||
|
if (!npc.isRemoved() || owner.withinRange(npc)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.stop();
|
this.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue