• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Can't get this spell to work.

Status
Not open for further replies.
Level 3
Joined
Jun 6, 2004
Messages
50
Aura of Light
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Aura of Light
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Aura of Light for (Learning Hero)) Equal to 1
Then - Actions
Unit - Remove Aura of Light from (Learning Hero)
Unit - Add Aura of Light (Level 1) to (Learning Hero)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Aura of Light for (Learning Hero)) Equal to 2
Then - Actions
Unit - Remove Aura of Light (Level 1) from (Learning Hero)
Unit - Add Aura of Light (Level 2) to (Learning Hero)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Aura of Light for (Learning Hero)) Equal to 3
Then - Actions
Unit - Remove Aura of Light (Level 2) from (Learning Hero)
Unit - Add Aura of Light (Level 3) to (Learning Hero)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Aura of Light for (Learning Hero)) Equal to 4
Then - Actions
Unit - Remove Aura of Light (Level 3) from (Learning Hero)
Unit - Add Aura of Light (Level 4) to (Learning Hero)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Aura of Light for (Learning Hero)) Equal to 5
Then - Actions
Unit - Remove Aura of Light (Level 4) from (Learning Hero)
Unit - Add Aura of Light (Level 5) to (Learning Hero)
Else - Actions
Do nothing


Whats wrong? It doesn't work.
And allso: How do I do so that it only target undead units? Among the target-list I find dead but that doesn't work eather.
 
Level 3
Joined
Jun 6, 2004
Messages
50
I made an abillity that would damage undead units when they came near. I based it on permanent immolation, but immolation only change damage when it is restarted. So I tried to make it so that when the hero learned this abillity it would change to the next ability-level. I made several (5) non-hero abilitys that made the same thing, but I needed the triggers to replace them for each lever. The problem is: It doesn't work as I want.
 
Status
Not open for further replies.
Top