Hello, im making a tower defense and i have a question if i can simply this trigger to avoid the headache since there will be A LOT more upgrades.
Thanks in advance!
-
Hero Level 10 Upgrade
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Level of Hero Classification (Hidden) for (Triggering unit)) Equal to 1
-
-
Actions
-
-------- --------
-
-------- Archmage --------
-
-------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Triggering unit)) Equal to Archmage Lvl 1
-
-
Then - Actions
-
Unit - Set level of Brilliance Aura (ArchMage Hero) for (Triggering unit) to 10
-
Unit - Set Name of Hero_Unit to Archmage Lvl 10
-
-------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Ability being cast) Equal to Blizzard (Archmage Dummy)
-
-
Then - Actions
-
Unit - Remove (Ability being cast) from (Triggering unit)
-
-------- --------
-
Unit - Set Max Mana of (Triggering unit) to 70
-
-------- --------
-
Unit - Add Blizzard (Archmage) to (Triggering unit)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Ability being cast) Equal to Water (Archmage Dummy)
-
-
Then - Actions
-
Unit - Remove (Ability being cast) from (Triggering unit)
-
-------- --------
-
Unit - Set Max Mana of (Triggering unit) to 80
-
-------- --------
-
Unit - Add Water (Archmage) to (Triggering unit)
-
-
Else - Actions
-
-
-
-
-
Else - Actions
-
-------- --------
-
-------- Firelord --------
-
-------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Triggering unit)) Equal to Firelord Lvl 1
-
-
Then - Actions
-
Unit - Set level of Flame Aura (Firelord Hero) for (Triggering unit) to 10
-
Unit - Set Name of Hero_Unit to Firelord Lvl 10
-
-------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Ability being cast) Equal to Spitting Fire (Firelord Dummy)
-
-
Then - Actions
-
Unit - Remove (Ability being cast) from (Triggering unit)
-
-------- --------
-
Unit - Set Max Mana of (Triggering unit) to 60
-
-------- --------
-
Unit - Add Spitting Fire (Firelord) to (Triggering unit)
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
-
-
Thanks in advance!