Skill
Events
Unit - Wizard 0013 <gen> Learns a skill
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Offensive Magic Spell (Wizard) for (Triggering unit)) Equal to 2
Then - Actions
Unit - Set level of Chain Lightning for Wizard 0013 <gen> to 2
Unit - Set level of Fire Prison for Wizard 0013 <gen> to 2
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Offensive Magic Spell (Wizard) for (Triggering unit)) Equal to 3
Then - Actions
Unit - Set level of Chain Lightning for Wizard 0013 <gen> to 3
Unit - Set level of Fire Prison for Wizard 0013 <gen> to 3
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Offensive Magic Spell (Wizard) for (Triggering unit)) Equal to 4
Then - Actions
Unit - Set level of Chain Lightning for Wizard 0013 <gen> to 4
Unit - Set level of Fire Prison for Wizard 0013 <gen> to 4
Else - Actions
Do nothing
Instead of having it set this way, is there any alternate way to do so ? I creating a spellbook for hero and everytime the hero up the skill for their spellbook, the spell inside the spellbook would up level as well. But, I was wondering if there is any alternate way to set it up as this kind of triggering is not only time consuming.
It might increase the map size and had leak.