Cannot think of an efficient pure data solution. You cannot have a stacking +attack speed buff since it is multiplicatory. Only solution would be to have a Combine validator that combines two Unit Compare Vital validators saying life is between less than or equal to x% and greater than or equal to x-1%. Your unit has a singular hidden buff behaviour that applies a periodic Set effect filled with full Set effects which is use Apply Behaviour effects with the various Combine validators mentioned earlier which each apply a single buff with the corresponding attack speed increase and a duration just longer than the period of the main buff.
Hey all,
I'm trying to make a Behavior that gives a buff to attack speed correlating to % health missing.
I.e., for every 1% of HP missing, the unit gains 1% attack speed. at half health, the unit is attacking 50% faster
anyone know how to do that in Data?
Cannot think of an efficient pure data solution. You cannot have a stacking +attack speed buff since it is multiplicatory. Only solution would be to have a Combine validator that combines two Unit Compare Vital validators saying life is between less than or equal to x% and greater than or equal to x-1%. Your unit has a singular hidden buff behaviour that applies a periodic Set effect filled with full Set effects which is use Apply Behaviour effects with the various Combine validators mentioned earlier which each apply a single buff with the corresponding attack speed increase and a duration just longer than the period of the main buff.
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