Ormagon
New Member
- Reaction score
- 1
will this condition work or dooes the or function not work this way??
Code:
Spellbook
Events
Unit - A unit Gains a level
Conditions
((Unit-type of (Triggering unit)) Equal to Warrior 1) or (((Unit-type of (Triggering unit)) Equal to Warrior 2) or (((Unit-type of (Triggering unit)) Equal to Warrior 3) or (((Unit-type of (Triggering unit)) Equal to Warrior 4) or (((Unit-type of (Triggering unit)) Equal to Warrior 5) or (((Unit-type of (Triggering
Actions
If ((Level of (Triggering unit)) Equal to 9) then do (Unit - Replace (Triggering unit) with a Warrior 2 using The old unit's relative life and mana) else do (Do nothing)
If ((Level of (Triggering unit)) Equal to 15) then do (Unit - Replace (Triggering unit) with a Warrior 3 using The old unit's relative life and mana) else do (Do nothing)
If ((Level of (Triggering unit)) Equal to 21) then do (Unit - Replace (Triggering unit) with a Warrior 4 using The old unit's relative life and mana) else do (Do nothing)
If ((Level of (Triggering unit)) Equal to 30) then do (Unit - Replace (Triggering unit) with a Warrior 5 using The old unit's relative life and mana) else do (Do nothing)
If ((Level of (Triggering unit)) Equal to 36) then do (Unit - Replace (Triggering unit) with a Warrior 6 using The old unit's relative life and mana) else do (Do nothing)
If ((Level of (Triggering unit)) Equal to 40) then do (Unit - Replace (Triggering unit) with a Warrior 7 using The old unit's relative life and mana) else do (Do nothing)
If ((Level of (Triggering unit)) Equal to 45) then do (Unit - Replace (Triggering unit) with a Warrior 8 using The old unit's relative life and mana) else do (Do nothing)