Added a sanity check to OnEffectFinish in sprigganCallAnimalsAOE
This commit is contained in:
parent
243dde6fb3
commit
1089d32429
Binary file not shown.
@ -48,6 +48,10 @@ EVENT OnEffectFinish(Actor akTarget, Actor akCaster)
|
||||
|
||||
; debug.trace("TEST: Released from Spriggan Enthrallment: "+self)
|
||||
|
||||
if ! akTarget
|
||||
return
|
||||
endif
|
||||
|
||||
akTarget.setActorValue("confidence", myConfidence)
|
||||
akTarget.setActorValue("aggression", myAggression)
|
||||
akTarget.RemoveFromFaction(sprigganFaction)
|
||||
|
Loading…
Reference in New Issue
Block a user