Use a Persistent effect with 100 periods and 0 period duration. Set the Periodic Effect to a Set with a validator "Target energy>0", then add 2 Modify Unit effects to the Set. One should occur on the Caster and increase energy by 1, one should occur on the Target and decrease it by 1.
If you hit the maximum number of periods on the Persistent you can open up with a Set to apply several copies of it.
How would that count to 100 individual ticks? And doesn't the Periodic Validator field already destroy the effect for a much simpler setup to suck enemies dry?
Oh, you mean really high period counts. How would you only count every 10th tick though? I know you can always compound things by using multiple buffs or persistents, but is there a more elegant way of doing it?
How would make an ability similar to feedback that drains 100 energy from the target and then gives it to the caster?
Use a Persistent effect with 100 periods and 0 period duration. Set the Periodic Effect to a Set with a validator "Target energy>0", then add 2 Modify Unit effects to the Set. One should occur on the Caster and increase energy by 1, one should occur on the Target and decrease it by 1.
If you hit the maximum number of periods on the Persistent you can open up with a Set to apply several copies of it.
Or just have persist until destroyed with a Switch effect that destroys the persistent if the conditions are not met.
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
@DrSuperEvil: Go
How would that count to 100 individual ticks? And doesn't the Periodic Validator field already destroy the effect for a much simpler setup to suck enemies dry?
It would help if a number of ticks greater than the max number of periods was required. A buff stack could be used to count every 10 ticks.
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
@DrSuperEvil: Go
Oh, you mean really high period counts. How would you only count every 10th tick though? I know you can always compound things by using multiple buffs or persistents, but is there a more elegant way of doing it?
Why not make a damage effect with:
Effect: Vital Bonus: 0/0/-100
Effect: Leech Fraction: 0/0/1
Also: hi yope
I got it working with the original suggestion of using a persistent. Thanks.
Sup Scythe