FhelZone
Have a drink of a nice cold mellowberry juice!
- Reaction score
- 103
Trigger:
- Expulsion Periodic
- Events
- Time - Every 0.75 seconds of game time
- Conditions
- Actions
- Set Temp_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Expulsion Circle))
- Unit Group - Pick every unit in Temp_Group and do (Actions)
- Loop - Actions
- Set Temp_Point = (Position of (Picked unit))
- Unit - Create 1 Dummy for (Owner of (Picked unit)) at Temp_Point facing Default building facing degrees
- Unit - Add Expulsion (Explode Corpse) to (Last created unit)
- Unit - Set level of Expulsion (Explode Corpse) for (Last created unit) to (Level of Expulsion for Hero_Selected[(Player number of (Owner of (Picked unit)))])
- Set Temp_Group_2 = (Units within 300.00 of Temp_Point matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is alive) Equal to False)))
- Custom script: call RemoveLocation( udg_Temp_Point )
- Unit Group - Pick every unit in (Random 1 units from Temp_Group_2) and do (Actions)
- Loop - Actions
- Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
- Unit - Remove (Picked unit) from the game
- Set Temp_Point = (Position of (Picked unit))
- Special Effect - Create a special effect at Temp_Point using Effects\Corpse Explosion.mdx
- Special Effect - Destroy (Last created special effect)
- Loop - Actions
- Loop - Actions
- Custom script: call RemoveLocation( udg_Temp_Point )
- Custom script: call DestroyGroup( udg_Temp_Group )
- Custom script: call DestroyGroup( udg_Temp_Group_2 )
- Events
This was supposed to mimic the skill of pitlord (Dota) called "Expulsion".