Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I want to make a trigger wherein if a units mana is at 100, he gains 25 damage. I made a base trigger, but I don't know where or if I can add a damage bonus. Please guide me, heroes.
Yeah Gorrila is right on.
You need to make the Item Damage Bonus, its a custom item ability in the object editor.
Here's an example trigger of what I think you're looking for.
Extra Dmg from Mana
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set TempGroup = (Units in (Playable map area))
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Picked unit)) Greater than or equal to 100.00
Then - Actions
Unit - Add Item Damage Bonus +25 to (Picked unit)
Else - Actions
Unit - Remove Item Damage Bonus +25 from (Picked unit)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Attacking unit)) Greater than or equal to (>=) 100.00
Then - Actions
Unit - Add Item Damage Bonus (+25) to (Attacking unit)
Else - Actions
Unit - Remove Item Damage Bonus (+25) from (Attacking unit)
Using loops in this case is unnecessary, since the "Unit - A unit Is attacked" is triggered before damage is done, so in this case you just add the ability(you can't doubleadd it anyway). If mana is under 100 you remove it(can't doubleremove either).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.