- Joined
- Sep 11, 2022
- Messages
- 14
Greetings, in the past few days, I have tried a trigger that makes the damage of blizzard skills equal to 100% of Archmage's intelligence. It worked.
[/LIST]
-
[LIST]
-
[*]Event:
-
[LIST]
-
[*]Unit - Any unit starts casting a spell
-
[/LIST]
-
[*]Conditions:
-
[LIST]
-
[*](Spell being cast) Equal to Blizzard (Antonidas)
-
[/LIST]
-
[*]Actions:
-
[LIST]
-
[*]Ability - Set (Blizzard (Antonidas))'s (damage per wave) at level 0 for (Real((Intelligence of (Casting unit)) (including bonus)))
-
[*]Ability - Set (Blizzard (Antonidas))'s (damage per wave) at level 1 for (Real((Intelligence of (Casting unit)) (including bonus)))
-
[*]Ability - Set (Blizzard (Antonidas))'s (damage per wave) at level 2 for (Real((Intelligence of (Casting unit)) (including bonus)))
-
[/LIST]
-
[/LIST]
-
[B]Untitled Trigger 002[/B]
-
[LIST]
-
[*]AHbz_B=Boolean value, initial value FALSE
-
[*]Event:
-
[LIST]
-
[*]Time - Elapsed game time 0.00 seconds
-
[/LIST]
-
[*]Conditions:
-
[*]Actions:
-
[LIST]
-
[*]Set A_Hbz2_add[0] to 0.05
-
[*]Set A_Hbz2_add[1] to 0.25
-
[*]Set A_Hbz2_add[2] to 0.50
-
[*]Set AHbz_B to TRUE
-
[/LIST]
-
[/LIST]
-
[LIST]
-
[*]ability=skill
-
[*]A_Hbz2=Real numbers, array size 1
-
[*]A_Hbz2_add=Real numbers, array size 1
-
[*]A_lvl=Integer
-
[*]A_lvl_2=Integer
-
[B]Untitled Trigger 003[/B]
-
[*][LIST]
-
[*]Event:
-
[LIST]
-
[*]Unit - Any unit learns a skill
-
[/LIST]
-
[*]Conditions:
-
[*]Actions:
-
[LIST]
-
[*]Set A_lvl to ((Blizzard (Antonidas) level, for (hero who learned the skill)) - 1)
-
[*]Set A_lvl_2 to ((Brilliance Aura (Antonidas) level, for (hero who learned the skill)) - 1)
-
[*]Set ability to (Blizzard (Antonidas) of triggering unit)
-
[*]If all conditions are true, then do action 1, else do action 2
-
[LIST]
-
[*]If - Conditions
-
[LIST]
-
[*](Learned skill by hero) equal to Blizzard (Antonidas)
-
[*]Set AHbz_B to TRUE
-
[/LIST]
-
[*]Then - Actions
-
[LIST]
-
[*]Set AHbz_B to FALSE
-
[*]For each integer A from 0 to 2, do multiple actions
-
[LIST]
-
[*]Loop - Actions
-
[LIST]
-
[*]Set A_Hbz2[(A)] to (damage per wave of (ability) at level (A))
-
[/LIST]
-
[/LIST]
-
[*]Else - Actions
-
[/LIST]
-
[/LIST]
-
[*]If all conditions are true, then do action 1, else do action 2
-
[LIST]
-
[*]If - Conditions
-
[LIST]
-
[*]A_lvl_2 greater than or equal to 0
-
[/LIST]
-
[*]Then - Actions
-
[LIST]
-
[*]Ability - Set (damage per wave of (ability) to (A_Hbz2[A_lvl] * (1.00 + A_Hbz2_add[A_lvl_2])) at level A_lvl)
-
[*]Unit - Increase Blizzard (Antonidas) level for (hero who learned the skill)
-
[*]Unit - Decrease Blizzard (Antonidas) level for (hero who learned the skill)
-
[/LIST]
-
[*]Else - Actions
-
[/LIST]
-
[/LIST]
-
[/LIST]
[/LIST]