Then get the master unit to cast an ability on the slave for the same linkage.
I would just use a Player Requirement validator that uses a Requirement which counts a Buff behaviour owned by the player. The buff is disabled if the unit with it has no energy (master).
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Why not use a Create Persistent effect and make it a passive without the periodic search? Use a Unit Compare Vitals validator. If the master unit spawns the slave unit you can then use that effect tree to apply the energy transfer and validate using previous effects in the effect tree.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Then get the master unit to cast an ability on the slave for the same linkage.
I would just use a Player Requirement validator that uses a Requirement which counts a Buff behaviour owned by the player. The buff is disabled if the unit with it has no energy (master).
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
Why not use a Create Persistent effect and make it a passive without the periodic search? Use a Unit Compare Vitals validator. If the master unit spawns the slave unit you can then use that effect tree to apply the energy transfer and validate using previous effects in the effect tree.
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