I'm trying to implement a passive that increases shield regen through three separate buffs if shields are below 90, 60, and 30% (same buff effect, different names).
What I've done so far is create 3 always-on passive buffs for each level with a damage response that validates against "Shields < 90%" (and 60, 30). The validator is a Compare that checks if the Target unit is less than 90% shields. The response then "handles" an effect that triggers the Active buff that does the shield regen increase. The active buffs themselves last 5 seconds, but should constantly refresh as more damage gets triggered and the validator gets fulfilled.
Only thing is, the effect is never handled by any of the passives (evidenced by the active buffs never showing up on the unit), which leads me to believe the validator is constantly failing.
Damage response refused to trigger the effect for whatever reason. I changed it to a passive with periodic effect pointing to the Set, and it works perfectly against the validators.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm trying to implement a passive that increases shield regen through three separate buffs if shields are below 90, 60, and 30% (same buff effect, different names).
What I've done so far is create 3 always-on passive buffs for each level with a damage response that validates against "Shields < 90%" (and 60, 30). The validator is a Compare that checks if the Target unit is less than 90% shields. The response then "handles" an effect that triggers the Active buff that does the shield regen increase. The active buffs themselves last 5 seconds, but should constantly refresh as more damage gets triggered and the validator gets fulfilled.
Only thing is, the effect is never handled by any of the passives (evidenced by the active buffs never showing up on the unit), which leads me to believe the validator is constantly failing.
Ok I am confused as to the overall aim.
Why not use one Buff on the target with a damage response that uses a Set effect and the three effects which are validated?
What unit are you validating? The caster or the source?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Damage response refused to trigger the effect for whatever reason. I changed it to a passive with periodic effect pointing to the Set, and it works perfectly against the validators.