So, i want to make a spell that gives a unit increased attack speed and dodge chance, but since there is no such spell i believe i tried to make it with a spell book. Right now i have a dummy spell, that when you level gives the unit the spell book and sets those spells inside the spell book to a certain level.
But it wont work, and after reading a few threads i still haven't understood how to make it work.
But it wont work, and after reading a few threads i still haven't understood how to make it work.
-
Skills of a Drunkard
-
Events
-
Unit - A unit Learns a skill
-
-
Conditions
-
Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Learned Hero Skill) Equal to (==) Skills of a Drunkard (DWARVES)
-
(Level of Skills of a Drunkard (DWARVES) for (Triggering unit)) Equal to (==) 1
-
-
Then - Actions
-
Hero - Learn skill for (Triggering unit): Spell Book (DWARVES)
-
Unit - Set level of Attack Speed (DWARVES) for (Triggering unit) to 1
-
Unit - Set level of Dodge (DWARVES) for (Triggering unit) to 1
-
Player - Disable Spell Book (DWARVES) for Player 10 (Light Blue)
-
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Learned Hero Skill) Equal to (==) Skills of a Drunkard (DWARVES)
-
(Level of Skills of a Drunkard (DWARVES) for (Triggering unit)) Equal to (==) 2
-
-
Then - Actions
-
Player - Enable Spell Book (DWARVES) for Player 10 (Light Blue)
-
Unit - Set level of Attack Speed (DWARVES) for (Triggering unit) to 2
-
Unit - Set level of Dodge (DWARVES) for (Triggering unit) to 2
-
Player - Disable Spell Book (DWARVES) for Player 10 (Light Blue)
-
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Learned Hero Skill) Equal to (==) Skills of a Drunkard (DWARVES)
-
(Level of Skills of a Drunkard (DWARVES) for (Triggering unit)) Equal to (==) 3
-
-
Then - Actions
-
Player - Enable Spell Book (DWARVES) for Player 10 (Light Blue)
-
Unit - Set level of Attack Speed (DWARVES) for (Triggering unit) to 3
-
Unit - Set level of Dodge (DWARVES) for (Triggering unit) to 3
-
Player - Disable Spell Book (DWARVES) for Player 10 (Light Blue)
-
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Learned Hero Skill) Equal to (==) Skills of a Drunkard (DWARVES)
-
(Level of Skills of a Drunkard (DWARVES) for (Triggering unit)) Equal to (==) 4
-
-
Then - Actions
-
Player - Enable Spell Book (DWARVES) for Player 10 (Light Blue)
-
Unit - Set level of Attack Speed (DWARVES) for (Triggering unit) to 4
-
Unit - Set level of Dodge (DWARVES) for (Triggering unit) to 4
-
Player - Disable Spell Book (DWARVES) for Player 10 (Light Blue)
-
-
Else - Actions
-
-
-
-
-
-
-
-
-