I've got an EnergyShield Spell. It creates a bubble around the caster and gives him a shield value. Once that value down to 0 I want the buff behavior to be destroyed. A friend of mine suggested A Validator (Caster Has Shield) Which check if the caster has over 1 of shield on in the Validator (Remove) Field but that only destroy's my actor prematurely. Any thoughts?
Does the unit need to have had a shield? Because when he gets hit the behavior gets removed instantly. (applied Has Shield to Field)
EnergyShield (Shielded)
Behavior - Validators (Remove) (Has Shields)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've got an EnergyShield Spell. It creates a bubble around the caster and gives him a shield value. Once that value down to 0 I want the buff behavior to be destroyed. A friend of mine suggested A Validator (Caster Has Shield) Which check if the caster has over 1 of shield on in the Validator (Remove) Field but that only destroy's my actor prematurely. Any thoughts?
use the validator the immortal uses to disable his shield and change it to lower than 1
take a look at the "has shield" validator, it compares the targets shield value >= 1
@b0ne123: Go
Does the unit need to have had a shield? Because when he gets hit the behavior gets removed instantly. (applied Has Shield to Field) EnergyShield (Shielded) Behavior - Validators (Remove) (Has Shields)