- Joined
- Mar 20, 2008
- Messages
- 485
Okay so when i do cast this with more than one unit it explodes and damages the one that casted it second... heres the triggers
-
Spirit Bomb
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Spirit Bomb
-
Actions
- Set CO_SpiritCaster[(Player number of (Owner of (Casting unit)))] = (Casting unit)
- Set CO_SpiritCastPoint[1] = (Target point of ability being cast)
- Set CO_SpiritTerrain = (Terrain type at (Target point of ability being cast))
- Unit - Pause CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]
- Unit - Add Fly to CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]
- Unit - Remove Fly from CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]
- Animation - Play CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]'s spell animation
- Animation - Change CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]'s animation speed to 10.00% of its original speed
- Unit - Create 1 Spirit Bomb for (Owner of CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]) at (Position of CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]) facing (Facing of CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]) degrees
- Set CO_SpiritBomb = (Last created unit)
- Unit - Add Fly to CO_SpiritBomb
- Unit - Remove Fly from CO_SpiritBomb
- Animation - Change CO_SpiritCaster[(Player number of (Owner of (Casting unit)))] flying height to 260.00 at 500.00
- Animation - Change CO_SpiritBomb flying height to 500.00 at 500.00
- Floating Text - Create floating text that reads Give me your energy... above CO_SpiritCaster[(Player number of (Owner of (Casting unit)))] with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 100.00%), and 10.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
- Wait 0.50 seconds
- Animation - Change CO_SpiritBomb's size to (200.00%, 200.00%, 200.00%) of its original size
- Wait 0.50 seconds
- Animation - Change CO_SpiritBomb's size to (300.00%, 300.00%, 300.00%) of its original size
- Wait 0.50 seconds
- Floating Text - Create floating text that reads Spirit... above CO_SpiritCaster[(Player number of (Owner of (Casting unit)))] with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 100.00%), and 10.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
- Animation - Change CO_SpiritBomb's size to (400.00%, 400.00%, 400.00%) of its original size
- Wait 0.50 seconds
- Animation - Change CO_SpiritBomb's size to (500.00%, 500.00%, 500.00%) of its original size
- Wait 0.50 seconds
- Floating Text - Create floating text that reads BOMB! above CO_SpiritCaster[(Player number of (Owner of (Casting unit)))] with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 100.00%), and 10.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
- Unit - Order CO_SpiritBomb to Move To ((Position of CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]) offset by 1000.00 towards (Facing of CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]) degrees)
- Unit - Add a 2.00 second Generic expiration timer to CO_SpiritBomb
- Wait 1.99 seconds
- Special Effect - Create a special effect at (Position of CO_SpiritBomb) using NuclearExplosion.mdx
- Animation - Change CO_SpiritCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 500.00
- Unit - Unpause CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]
- Animation - Change CO_SpiritCaster[(Player number of (Owner of (Casting unit)))]'s animation speed to 100.00% of its original speed
- Unit - Cause CO_SpiritBomb to damage circular area after 0.00 seconds of radius 700.00 at (Position of CO_SpiritBomb), dealing 500.00 damage of attack type Spells and damage type Normal
- Destructible - Pick every destructible within 700.00 of (Position of CO_SpiritBomb) and do (Destructible - Kill (Picked destructible))
-
Events