Im trying to figure out how to enchant an attack that adds x amount of damage whenever energy is at 10.
i understand buffs, weapon search, abilities, weapon sets, apply behaviors, etc. But the only thing i came up with is an ability that uses 10 energy that hits for x damage. problem with that, is it does a seperate attack and the AI switches target,
Pretty much enchanting an attack using energy is what i need.
Your probably looking for a switch effect maybe its called a set effect.
Anyways you could set up the effects to do different damage based on the energy available.
This of course would be done with validators.
They are relatively easy to use might take a little trial and error to get it right.
Apply damage response buff on unit which attacks you want to enchant. Set CHANCE to 1, change LOCATION to: Attacker and select desired HANDLED effect (your additional damage). Change cost fields of behaviour to add cost of this special attacks.
Yeah, the damage response on attacker is the way to go because you can just validate the buff to disable when energy is under 10 although you would then need a second buff so that a Unit Compare Behavior Count validator can be used to remove the disabled buff if you want it to have a limited duration. You also could use a Set effect under the effect handled to use your damage effect and a Modify Unit effect to drain any energy cost of using the enhancement.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Im trying to figure out how to enchant an attack that adds x amount of damage whenever energy is at 10.
i understand buffs, weapon search, abilities, weapon sets, apply behaviors, etc. But the only thing i came up with is an ability that uses 10 energy that hits for x damage. problem with that, is it does a seperate attack and the AI switches target,
Pretty much enchanting an attack using energy is what i need.
Thanks, Stexen.
Your probably looking for a switch effect maybe its called a set effect.
Anyways you could set up the effects to do different damage based on the energy available.
This of course would be done with validators.
They are relatively easy to use might take a little trial and error to get it right.
Does it consume that energy when it fires?
Apply damage response buff on unit which attacks you want to enchant. Set CHANCE to 1, change LOCATION to: Attacker and select desired HANDLED effect (your additional damage). Change cost fields of behaviour to add cost of this special attacks.
Yeah, the damage response on attacker is the way to go because you can just validate the buff to disable when energy is under 10 although you would then need a second buff so that a Unit Compare Behavior Count validator can be used to remove the disabled buff if you want it to have a limited duration. You also could use a Set effect under the effect handled to use your damage effect and a Modify Unit effect to drain any energy cost of using the enhancement.
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 guys, i got it figured out!