Is there a way to make a buff behavior effect the cooldown/cost of an ability on the unit that has said buff? If not, what is the easiest/simplest way to do something to that effect?
Modify Unit effects can adjust cooldowns while Modify Player effects can add/deplete resources. The cost of an ability cannot be altered in the UI of the ability for a single unit.
The simplest setup is to have the buff validated by a buff applied by the (None): Post Effect behaviour - Behavior field of the ability so if the other buff is present the initial effect adds extra cost and cooldown using a Set effect with your Modify Unit and Modify Player effects . The first effect of the ability could even be validated using a Combine validator with Or logic and two And logic Combine validators under it using Unit Compare Behavior Count and Player Compare Resource validators. With this logic setup if the player has enough resources for the normal cost and no buff it will cast or if the player has enough resources for the increased cost and the buff it will cast.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Is there a way to make a buff behavior effect the cooldown/cost of an ability on the unit that has said buff? If not, what is the easiest/simplest way to do something to that effect?
Modify Unit effects can adjust cooldowns while Modify Player effects can add/deplete resources. The cost of an ability cannot be altered in the UI of the ability for a single unit.
The simplest setup is to have the buff validated by a buff applied by the (None): Post Effect behaviour - Behavior field of the ability so if the other buff is present the initial effect adds extra cost and cooldown using a Set effect with your Modify Unit and Modify Player effects . The first effect of the ability could even be validated using a Combine validator with Or logic and two And logic Combine validators under it using Unit Compare Behavior Count and Player Compare Resource validators. With this logic setup if the player has enough resources for the normal cost and no buff it will cast or if the player has enough resources for the increased cost and the buff it will cast.
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