- Joined
- Dec 3, 2018
- Messages
- 905
I have a spell for a unit and 1 research. Both have 3 levels. the lvl 1 spell requires lvl 1 upg. level 2 spell requires level 2 upgrade and level 3 spell requires level 3 upgrade. How do i do that??
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
What you gave me works only on level 3
Events

Unit - A unit Finishes research
Conditions

(Researched tech-type) Equal to Iron Forged Swords
Actions

If (All Conditions are True) then do (Then Actions) else do (Else Actions)


If - Conditions



(Current research level of Iron Forged Swords for (Triggering player)) Equal to 1


Then - Actions



Unit - Add Storm Bolt to Hero


Else - Actions

Unit - Set level of Storm Bolt for Hero to (Current research level of Iron Forged Swords for (Owner of Hero))
Events

Unit - A unit Learns a skill
Conditions

(Learned Hero Skill) Equal to Holy Light
Actions

Unit - For (Triggering unit), Ability Holy Light, Disable ability: True, Hide UI: True

Unit - Remove Holy Light (Unit Ability Level 1) from (Triggering unit)

Unit - Remove Holy Light (Unit Ability Level 2) from (Triggering unit)

Unit - Remove Holy Light (Unit Ability Level 3) from (Triggering unit)

If (All Conditions are True) then do (Then Actions) else do (Else Actions)


If - Conditions



(Level of Holy Light for (Triggering unit)) Equal to 1


Then - Actions



Unit - Add Holy Light (Unit Ability Level 1) to (Triggering unit)


Else - Actions

If (All Conditions are True) then do (Then Actions) else do (Else Actions)


If - Conditions



(Level of Holy Light for (Triggering unit)) Equal to 2


Then - Actions



Unit - Add Holy Light (Unit Ability Level 2) to (Triggering unit)


Else - Actions

If (All Conditions are True) then do (Then Actions) else do (Else Actions)


If - Conditions



(Level of Holy Light for (Triggering unit)) Equal to 3


Then - Actions



Unit - Add Holy Light (Unit Ability Level 3) to (Triggering unit)


Else - Actions
that trigger will work only in one unit.
