Hello, im working on a map called Druid War (name pending, w/e).
It's a map with 2 teams of 5 players (no it's not AoS). Each player gets same hero, a druid, which has several spells in a spellbook. Then you can research some forms for the druid in a research center. Each form has it's own spellbook, with different abillitys. I'll upload the map so you can see for yourself.
So this is where my problem is. I want the spells in spellbook to level up when the druid reaches level 3, 5, 7 and so on.
So i got this trigger.
It works just fine, BUT (duh), when the druid switch form, and then back to his normal ''night-elf'' form, the spellbook is level 1 again :S.
And i have no experience in Jass whatsoever.
So, anyone who has a solution to this?
Thanks for reading.
Oh, and yeah, i used Tinki3's Creep Revival System and it works great, i will credit him. Thanks alot.
It's a map with 2 teams of 5 players (no it's not AoS). Each player gets same hero, a druid, which has several spells in a spellbook. Then you can research some forms for the druid in a research center. Each form has it's own spellbook, with different abillitys. I'll upload the map so you can see for yourself.
So this is where my problem is. I want the spells in spellbook to level up when the druid reaches level 3, 5, 7 and so on.
So i got this trigger.
Code:
Spells lvl up Copy
Events
Unit - A unit Gains a level
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of (Triggering unit)) Equal to 3
Then - Actions
Unit - Remove |CFF00C400Skills|r - Level 1 (D) Level 1 from (Triggering unit)
Unit - Add |CFF00C400Skills|r - Level 2 (D) Level 2 to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of (Triggering unit)) Equal to 5
Then - Actions
Unit - Remove |CFF00C400Skills|r - Level 2 (D) Level 2 from (Triggering unit)
Unit - Add |CFF00C400Skills|r - Level 3 (D) Level 3 to (Triggering unit)
Else - Actions
It works just fine, BUT (duh), when the druid switch form, and then back to his normal ''night-elf'' form, the spellbook is level 1 again :S.
And i have no experience in Jass whatsoever.
So, anyone who has a solution to this?
Thanks for reading.
Oh, and yeah, i used Tinki3's Creep Revival System and it works great, i will credit him. Thanks alot.