-
Growth
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Transfer Mana
-
Actions
- If ((Unit-type of (Target unit of ability being cast)) Equal to Piglet) then do (Unit - Replace (Target unit of ability being cast) with a Pig using The old unit's relative life and mana) else do (Do nothing)
- If ((Unit-type of (Target unit of ability being cast)) Equal to Calf) then do (Unit - Replace (Target unit of ability being cast) with a Cow using The old unit's relative life and mana) else do (Do nothing)
- Unit - Remove (Casting unit) from the game
-
Events
I'm making a farming map with a friend, and we have a dummy mana caster transfer mana to the baby animals. When the transfer mana spell ends, the animals are supposed to be replaced by their older counterparts.
The problem is, the baby animals are not replaced, and I cannot figure out what is wrong with my trigger. The casting unit is removed with the last line, so everything works except replacing the animals. Thank you for your help.