Timers can be flagged for removal on death (fixes deep wilderness threats attacking for brief period after respawn)
Fixed an issue with the skill restore timer that caused overheals to be reset to normal hp
This commit is contained in:
@@ -99,7 +99,7 @@ class RevGuardianBehavior : NPCBehavior() {
|
||||
|
||||
override fun tick(self: NPC): Boolean {
|
||||
val target = getAttribute<Player?>(self, "dw-threat-target", null) ?: return true
|
||||
if (!target.isActive) {
|
||||
if (!target.isActive || DeathTask.isDead(target)) {
|
||||
self.clear()
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user