• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Triggered AOE heal help

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
im trying to make a triggered AOE heal ability, using unit groups but it doesnt seem to work correctly does this look rite?

  • AOE heal priest
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Holy Converse
    • Actions
      • Set Fearcaster = (Triggering unit)
      • Set Fear1 = (Position of Fearcaster)
      • Set Fear2 = (Position of (Picked unit))
      • Set Feargroup = (Units within 500.00 of Fear1 matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is A Hero) Equal to True) and ((((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True) and ((Unit-type of (Matching unit)) Not eq
      • Unit Group - Pick every unit in Feargroup and do (Actions)
        • Loop - Actions
          • Unit - Cause (Triggering unit) to damage (Picked unit), dealing (-50.00 x (Real((Level of Holy Converse for (Triggering unit))))) damage of attack type Spells and damage type Cold
 
Unit - Cause (Triggering unit) to damage (Picked unit), dealing (-50.00 x (Real((Level of Holy Converse for (Triggering unit))))) damage of attack type Spells and damage type Cold

That's not a heal. Use
  • Unit - Set life of (Picked unit) to (((Life of (Picked unit)) + 50 * (Level of (Holy Converse) for (Triggering unit))
instead.
 
Level 2
Joined
Jul 17, 2009
Messages
27
Your
  • Set Fear2 = (Position of (Picked unit))
line doesn't do anything (worthwhile), and the variable isn't being used. It won't effect the trigger, so you can safely remove it.
 
Status
Not open for further replies.
Top