Manix
Well-Known Member
- Reaction score
- 29
Holy Destruction
By Manix
By Manix
MPI - Yes
MUI - Working on it
Screenshot:
Codes:
Trigger:
- Holy DestructionCast
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Roar
- Actions
- Set Unit[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
- Set Range[(Player number of (Owner of (Triggering unit)))] = 500.00
- Set Point1[(Player number of (Owner of (Triggering unit)))] = (Position of (Triggering unit))
- Unit - Pause (Triggering unit)
- For each (Integer Loop[(Player number of (Owner of (Triggering unit)))]) from 1 to 7, do (Actions)
- Loop - Actions
- Trigger - Run Holy DestructionLoop <gen> (checking conditions)
- Set Range[(Player number of (Owner of (Triggering unit)))] = (Range[(Player number of (Owner of (Triggering unit)))] - 71.00)
- Wait 0.04 seconds
- Loop - Actions
- For each (Integer A) from 1 to 360, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Integer A) mod 30) Equal to 0
- Then - Actions
- Unit - Create 1 Footman for Player 2 (Blue) at Point1[(Player number of (Owner of (Triggering unit)))] facing (Real((Integer A))) degrees
- Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Set Group[(Player number of (Owner of (Triggering unit)))] = (Units within 912.00 of Point1[(Player number of (Owner of (Triggering unit)))] matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
- Unit Group - Pick every unit in Group[(Player number of (Owner of (Triggering unit)))] and do (Actions)
- Loop - Actions
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing 1001.00 damage of attack type Spells and damage type Normal
- Loop - Actions
- Custom script: call DestroyGroup( udg_Group[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] )
- Custom script: call RemoveLocation( udg_Point1[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] )
- Unit - Unpause (Triggering unit)
- Set Unit[(Player number of (Owner of (Triggering unit)))] = No unit
- Events
Trigger:
- Holy DestructionLoop
- Events
- Conditions
- Actions
- For each (Integer B) from 1 to 12, do (Actions)
- Loop - Actions
- For each (Integer A) from 1 to 360, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Unit[(Integer B)] Not equal to No unit
- ((Integer A) mod 8) Equal to 0
- Then - Actions
- Set Point2[(Integer A)] = (Point1[(Integer B)] offset by Range[(Integer B)] towards (Real((Integer A))) degrees)
- Special Effect - Create a special effect at Point2[(Integer A)] using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation( udg_Point2[GetForLoopIndexA()] )
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 1 to 360, do (Actions)
- Loop - Actions
- For each (Integer B) from 1 to 12, do (Actions)
Other:
I would like to point out that there were no custom models used in order to make the spell look so wow