Jump to content

Outdated state tag check in Krampus stategraph


loganpea
  • Pending
--Krampus will recover from electrocution early if he is attacked, because of an outdated state tag check in his stategraph on line 15.
elseif not (inst.sg:HasStateTag("attack") or CommonHandlers.HitRecoveryDelay(inst)) then
--inst.sg:HasStateTag("attack") should be replaced with inst.sg:HasAnyStateTag("attack", "electrocute"), like in other creature stategraphs.

 

 


Steps to Reproduce

SGKrampus.lua on line 15




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...