I've done this with triggers but decided its too messy.
I have an ability that gains 10% of the targets max health to the caster unit for 20 seconds. After the 20 seconds, the casters max health returns to default. This is also upgradable so with each upgrade goes up in 5% increments.
You would need a Switch effect that uses Combine validators with Unit Compare Field and Unit Compare Vital validators that applies buff stacks that add +max life. These buff stacks could then be transferred to the caster using a Transfer Behavior effect.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I've done this with triggers but decided its too messy.
I have an ability that gains 10% of the targets max health to the caster unit for 20 seconds. After the 20 seconds, the casters max health returns to default. This is also upgradable so with each upgrade goes up in 5% increments.
I'd like to do this with data only if possible.
You would need a Switch effect that uses Combine validators with Unit Compare Field and Unit Compare Vital validators that applies buff stacks that add +max life. These buff stacks could then be transferred to the caster using a Transfer Behavior effect.
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