Hello hello! I have a few questions for you!
That's it for now, I hope that you can help me!
Thanks in advance!
- I want to create an ability that blocks damage based on the hero's STR. I thought about adding a damage reduction ability, but the amount blocked is dynamic, of course, and I don't think I can change an ability's stats in-game. I also tried this, but it doesn't work and I won't bother fixing it cause it's not efficient.
-
Veteran
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Praetorian Captain (Normal)
-
-
Actions
-
Set VeteranProc = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Veteran for (Triggering unit)) Equal to 1
-
VeteranProc Less than or equal to 5
-
-
Then - Actions
-
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing (((Real((Strength of (Attacked unit) (Include bonuses)))) / 4.00) x -1.00) damage of attack type Hero and damage type Normal
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Veteran for (Triggering unit)) Equal to 2
-
VeteranProc Less than or equal to 10
-
-
Then - Actions
-
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing (((Real((Strength of (Attacked unit) (Include bonuses)))) / 2.00) x -1.00) damage of attack type Hero and damage type Normal
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Veteran for (Triggering unit)) Equal to 3
-
VeteranProc Less than or equal to 100
-
-
Then - Actions
-
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing ((Real((Strength of (Attacked unit) (Include bonuses)))) x -1.00) damage of attack type Hero and damage type Normal
-
-
Else - Actions
-
-
-
-
-
-
-
-
- I have a Misha-based ability that spawnz a pet. I want the cooldown to start when the pet dies.
- I have another ability that creates random Flame Strikes on a target area. How can I actually do this? I will have dummies cast Flame Strikes, but how do I keep them inside the target area?
- And I have a 3rd ability that deals random damage. Is there a way to adjust the cooldown based on the damage dealt using a formula?
That's it for now, I hope that you can help me!
Thanks in advance!
