Search Area,
Switch Depending on number of units found
if 1 modify target shield to be 50% of casters current shield
Modify Casters maximum shield to be 50% of casters maximum
modify casters shield to be 50% of casters current shield
toggleable on and off
if 2 modify target shield to be 33% of casters current shield
Modify Casters maximum shield to be 33% of casters maximum
modify casters shield to be 33% of casters current
toggleable on and off
if 3 modify target shield to be 25% of casters current shield
Modify Casters maximum shield to be 25% of casters maximum
modify casters shield to be 25% of casters current
toggleable on and off
if 4 modify target shield to be 20% of casters current shield
Modify Casters maximum shield to be 20% of casters maximum
modify casters shield to be 20% of casters current
toggleable on and off
if 5 modify target shield to be 16% of casters current shield
Modify Casters maximum shield to be 16% of casters maximum
modify casters shield to be 16% of casters current
toggleable on and off
if 6 modify target shield to be 14% of casters current shield
Modify Casters maximum shield to be 14% of casters maximum
modify casters shield to be 14% of casters current
toggleable on and off
if 7 modify target shield to be 12.5% of casters current shield
Modify Casters maximum shield to be 12.5% of casters maximum
modify casters shield to be 12.5% of casters current
toggleable on and off
When toggled off any units who where effected by this ability will lose there shields both current and maximum.
the casters maximum shield will then be set to 100% again and its current shields will be set based on the cumulative amounts of the
total shields of any units who where effected by the ability.
this ability cannot target units with existing shields
The area of this ability does not matter and I think the search should only be able to find up to 7 targets any more and the shields gained would probably be insignificant.
Ok use an enumerate area for the switch and use different buffs that add the shields. You then use a leeching damage effect to drain % current shields from the caster. If you want the max shield value to be dictated by the caster current shield you will need a buff stack system where the caster adds buff stacks depleting all current shields and then spreading the stacks out evenly using a transfer behaviour effect, the caster then gets modify unit effect to heal shield based on the number of stacks it has left.
Thanks for replying, for maximum shields its gonna be a static amount being 1/2-1/7 of the casters maximum shield. After that how would I get the targets current shields to be appropriate to the casters current shields at the time of the ability being toggled?
Shield Disperse
Search Area, Switch Depending on number of units found if 1 modify target shield to be 50% of casters current shield Modify Casters maximum shield to be 50% of casters maximum modify casters shield to be 50% of casters current shield toggleable on and off
if 2 modify target shield to be 33% of casters current shield Modify Casters maximum shield to be 33% of casters maximum modify casters shield to be 33% of casters current toggleable on and off
if 3 modify target shield to be 25% of casters current shield Modify Casters maximum shield to be 25% of casters maximum modify casters shield to be 25% of casters current toggleable on and off
if 4 modify target shield to be 20% of casters current shield Modify Casters maximum shield to be 20% of casters maximum modify casters shield to be 20% of casters current toggleable on and off
if 5 modify target shield to be 16% of casters current shield Modify Casters maximum shield to be 16% of casters maximum modify casters shield to be 16% of casters current toggleable on and off
if 6 modify target shield to be 14% of casters current shield Modify Casters maximum shield to be 14% of casters maximum modify casters shield to be 14% of casters current toggleable on and off
if 7 modify target shield to be 12.5% of casters current shield Modify Casters maximum shield to be 12.5% of casters maximum modify casters shield to be 12.5% of casters current toggleable on and off
When toggled off any units who where effected by this ability will lose there shields both current and maximum. the casters maximum shield will then be set to 100% again and its current shields will be set based on the cumulative amounts of the total shields of any units who where effected by the ability.
this ability cannot target units with existing shields
The area of this ability does not matter and I think the search should only be able to find up to 7 targets any more and the shields gained would probably be insignificant.
Ok use an enumerate area for the switch and use different buffs that add the shields. You then use a leeching damage effect to drain % current shields from the caster. If you want the max shield value to be dictated by the caster current shield you will need a buff stack system where the caster adds buff stacks depleting all current shields and then spreading the stacks out evenly using a transfer behaviour effect, the caster then gets modify unit effect to heal shield based on the number of stacks it has left.
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
Thanks for replying, for maximum shields its gonna be a static amount being 1/2-1/7 of the casters maximum shield. After that how would I get the targets current shields to be appropriate to the casters current shields at the time of the ability being toggled?
As stated just get the target shield buff to use a leeching damage effect on the caster.
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