[Spell] Every third cast AOE Damage.

Status
Not open for further replies.
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Set VariableSet SpellCount = (SpellCount + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • SpellCount Equal to 3
        • Then - Actions
          • Set VariableSet SpellCount = 0
          • Set VariableSet Point = (Position of (Triggering unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of Point.) and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • ((Picked unit) belongs to an enemy of (Triggering player).) Equal to True
                • Then - Actions
                  • Unit - Cause (Triggering unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
                • Else - Actions
          • Custom script: call RemoveLocation (udg_Point)
        • Else - Actions
 
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Set VariableSet SpellCount = (SpellCount + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • SpellCount Equal to 3
        • Then - Actions
          • Set VariableSet SpellCount = 0
          • Set VariableSet Point = (Position of (Triggering unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of Point.) and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • ((Picked unit) belongs to an enemy of (Triggering player).) Equal to True
                • Then - Actions
                  • Unit - Cause (Triggering unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
                • Else - Actions
          • Custom script: call RemoveLocation (udg_Point)
        • Else - Actions
wtf not even damage detection.. are you a magician?!?!?!
 
Status
Not open for further replies.
Back
Top