Load Unit
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Load Air Unit
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Target unit of ability being cast)) Equal to Flying Machine
Then - Actions
Unit - Replace (Target unit of ability being cast) with a Flying Machine (Dummy) using The old unit's relative life and mana
Unit - Order (Ordered unit) to Load (Last replaced unit)
Wait until (((Last replaced unit) is being transported) Equal to False), checking every 1.00 seconds
Unit - Replace (Last replaced unit) with a Flying Machine using The old unit's relative life and mana
Else - Actions
Load Unit
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Load Air Unit
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Target unit of ability being cast)) Equal to Flying Machine
Then - Actions
Unit - Replace (Target unit of ability being cast) with a Flying Machine (Dummy) using The old unit's relative life and mana
Unit - Order (Last replaced unit) to Board (Casting unit)
Wait until (((Last replaced unit) is being transported) Equal to True), checking every 1.00 seconds
Wait until (((Last replaced unit) is being transported) Equal to False), checking every 1.00 seconds
Unit - Replace (Last replaced unit) with a Flying Machine using The old unit's relative life and mana
Else - Actions