- Joined
- Apr 24, 2012
- Messages
- 9,797
These hurtful things only pick one or two units after some casts.
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to Inquisition
-
Then - Actions
- Set TempPoint = (Target point of ability being cast)
- Set TempReal = ((15.00 + (25.00 x (Real((Level of Inquisition for (Triggering unit)))))) + ((Real((Intelligence of (Triggering unit) (Include bonuses)))) x 0.80))
- Set TempCaster = (Triggering unit)
- Set TempGroup = (Units within 200.00 of TempPoint matching (((((Matching unit) is alive) Equal to True) and (((Matching unit) is in StructGroup) Equal to False)) and (((Matching unit) belongs to an enemy of (Triggering player)) Equal to True)))
- Unit - Create 1 Inquisition Dummy for (Triggering player) at TempPoint facing Default building facing degrees
- Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
- Unit - Change ownership of UniversalDummies[1] to (Triggering player) and Retain color
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
- Unit - Order UniversalDummies[1] to Neutral Pandaren Brewmaster - Drunken Haze (Picked unit)
- Set DamageEventType = 1
- Unit - Cause TempCaster to damage (Picked unit), dealing TempReal damage of attack type Chaos and damage type Universal
-
Loop - Actions
- Custom script: call RemoveLocation(udg_TempPoint)
- Custom script: call DestroyGroup(udg_TempGroup)
- Custom script: set udg_TempCaster = null
- Else - Actions
-
If - Conditions