- Joined
- Feb 17, 2007
- Messages
- 368
I just started making my first spell MPI, and I'm not sure why this isn't working:
-
Leap
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to |cffff0000Leap|r
-
Actions
- Set Unit[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
- Unit - Pause Unit[(Player number of (Owner of (Triggering unit)))]
- Animation - Play Unit[(Player number of (Owner of (Triggering unit)))]'s attack slam animation
- Unit - Turn collision for Unit[(Player number of (Owner of (Triggering unit)))] Off
- Animation - Change Unit[(Player number of (Owner of (Triggering unit)))]'s animation speed to 0.00% of its original speed
- Unit - Add Crow Form to Unit[(Player number of (Owner of (Triggering unit)))]
- Trigger - Turn on Leap Fly <gen>
- Trigger - Turn on Leap Move <gen>
-
Events
-
Leap Fly
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current flying height of Unit[(Player number of (Owner of (Triggering unit)))]) Less than 200.00
-
Then - Actions
- Animation - Change Unit[(Player number of (Owner of (Triggering unit)))] flying height to ((Current flying height of Unit[(Player number of (Owner of (Triggering unit)))]) + 4.00) at (Current flying height of Unit[(Player number of (Owner of (Triggering unit)))])
-
Else - Actions
- Trigger - Turn on Leap Down <gen>
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Leap Move
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Leap Fly <gen> is on) Equal to True
- (Leap Down <gen> is on) Equal to True
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Move Unit[(Player number of (Owner of (Triggering unit)))] instantly to ((Position of Unit[(Player number of (Owner of (Triggering unit)))]) offset by 5.00 towards (Facing of Unit[(Player number of (Owner of (Triggering unit)))]) degrees)
-
Else - Actions
- Animation - Change Unit[(Player number of (Owner of (Triggering unit)))] flying height to 0.00 at 0.00
- Unit - Turn collision for Unit[(Player number of (Owner of (Triggering unit)))] On
- Unit - Unpause Unit[(Player number of (Owner of (Triggering unit)))]
- Animation - Change Unit[(Player number of (Owner of (Triggering unit)))]'s animation speed to 100.00% of its original speed
- Special Effect - Create a special effect at (Position of Unit[(Player number of (Owner of (Triggering unit)))]) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Remove Crow Form from Unit[(Player number of (Owner of (Triggering unit)))]
-
Unit Group - Pick every unit in (Units within 500.00 of (Position of Unit[(Player number of (Owner of (Triggering unit)))]) matching (((Matching unit) belongs to an enemy of (Owner of Unit[(Player number of (Owner of (Triggering unit)))])) Equal to True)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit[(Player number of (Owner of (Triggering unit)))] has buff |cffff0000Concentration of the Worgen|r ) Equal to True
-
Then - Actions
- Unit - Cause Unit[(Player number of (Owner of (Triggering unit)))] to damage (Picked unit), dealing 200.00 damage of attack type Normal and damage type Normal
-
Else - Actions
- Unit - Cause Unit[(Player number of (Owner of (Triggering unit)))] to damage (Picked unit), dealing 150.00 damage of attack type Normal and damage type Normal
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Leap Down
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current flying height of Unit[(Player number of (Owner of (Triggering unit)))]) Greater than 1.00
-
Then - Actions
- Animation - Change Unit[(Player number of (Owner of (Triggering unit)))] flying height to ((Current flying height of Unit[(Player number of (Owner of (Triggering unit)))]) - 4.00) at (Current flying height of Unit[(Player number of (Owner of (Triggering unit)))])
-
Else - Actions
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events