avalya
New Member
- Reaction score
- 37
I haz an idea! Use engineering upgrade that replaces the old ability with the new one (engineering upgrade is in a disabled spellbook that the morphed unit has as a standard ability).
Event
A unit starts the effect of an ability
Condition
Ability being cast Equal to Metamorphosis
[B]Level of Ability X Greater than 0[/B]
Actions
If then else
Condition
Unit-type of (Triggering unit) Equal to YourNormalUnitType
Then - Action
[B]Wait 0.01 seconds[/B]
Unit - Add Ability Y to (Triggering unit)
Unit - Set level of Ability Y to level of Ability X...
Player - Disable Ability X for (Owner of (Triggering unit))
Else - Action
[B]Wait 0.01 seconds[/B]
Player - Enable Ability X for (Owner of (Triggering unit))
Unit - Remove Ability Y to (Triggering unit)
Oh, right, whoops:Weep, your new trigger still doesn't work as it should. y was still added, whether or not the unit has x.