Skill Question

Glaivesrit

New Member
Reaction score
8
My trigger is

Event
A unit begins casting an ability
Condition
Ability being cast equal to Mass Dispell
Actions
Remove all buffs from (target unit of ability being cast)

How do i make it so that it removes ALL buffs from ALL units within 700 yds?
 

WolfieeifloW

WEHZ Helper
Reaction score
372
That trigger leaks though I believe, give me a sec to clean it up and I'll repost it.
Code:
Untitled Trigger 001
    Events
        Unit - A unit Begins casting an ability
    Conditions
        Ability being cast equal to Mass Dispell
    Actions
        Set tempGroup = (Units within 700.00 of (Position of (Casting unit)))
        Unit Group - Pick every unit in tempGroup and do (Actions)
            Loop - Actions
                Unit - Remove All buffs from (Picked unit)
        Custom script:   call DestroyGroup(udg_tempGroup)
There you go.
tempGroup is an Unit Group variable, initially Empty.
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
There is already a mass dispell skill in the Object Editor :eek: In items, Item dispel (yes, with one "L").
Ah unless, you don't want to target area. Whatever :p Just a side note!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top