AOE single target heal

Scotty

New Member
Reaction score
4
i'd like to make an AOE single target heal, basically:

base ability is holy light, heals the target for 500 (example number) and all allied units within 200 for 500.

how would i go about doing this?
 

Exide

I am amazingly focused right now!
Reaction score
448
Trigger:
  • Heal
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Holy Light
    • Actions
      • Set HealPoint = (Position of (Target unit of ability being cast))
      • Set HealGroup = (Units within 512.00 of HealPoint matching ((((Owner of (Matching unit)) is an ally of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
      • Unit Group - Pick every unit in HealGroup and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 500.00)
      • Custom script: call RemoveLocation(udg_HealPoint)
      • Custom script: call DestroyGroup(udg_HealGroup)


-Add special effects and other conditions to 'HealGroup' as you see fit.
 

Faust

You can change this now in User CP.
Reaction score
123
Or just use a frost nova with negative values
 

Scotty

New Member
Reaction score
4
thank you Exide

and i've always wondered how to set negative values to spell, ex; frost nova, in the object editor when i type in a negative value in the damage field it sets it to 0, how do you get it to be negative?
 

HalosNTariff

New Member
Reaction score
13
You have to enable negative values; go into the file drop down menu at the top and click on 'preferences' one of the check boxes in there allows you to enable negative values.

Also negative Frost Nova is probably way easier than using triggers.
 

Scotty

New Member
Reaction score
4
problem,

healing only target of the ability and not surrounding allies,

what i changed from the original frost Nova:

Art effect (doughbt it's this)

Data-Area of effect damage to -500
Data-specific target damage -500
area of effect 250
cooldown 5
duration hero .01
duration normal .01
mana cost 250
targets allowed:air, ground, friend, self, vulnerable, invulnerable, organic

is there something i did preventing the aoe part of the heal ?
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
just do it with triggers like Exide told you

it actually takes less time than on editing the Nova spell
 

Scotty

New Member
Reaction score
4
man im a noob at this:(,

what type of variable does HealPoint have to be to get (position of (target unit of ability being cast)
 
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