PaladinHeart
New Member
- Reaction score
- 3
I always seem to have problems with spell events.
So would someone please tell me why this isn't working?
Code:
Soldier Training 1
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Casting unit)) Equal to General
(Ability being cast) Equal to Train Soldier
(Unit-type of (Target unit of ability being cast)) Equal to Soldier
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Train Soldier for (Casting unit)) Equal to 2
Then - Actions
Unit - Replace (Target unit of ability being cast) with a Soldier Rank 2 using The old unit's relative life and mana
Else - Actions
Unit - Replace (Target unit of ability being cast) with a Soldier Rank 1 using The old unit's relative life and mana
So would someone please tell me why this isn't working?