• 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.

Immolation type Aura spell.

Status
Not open for further replies.
Level 3
Joined
Apr 23, 2010
Messages
11
Hey guys! I've trigger created a spell called "Lightning Aura" and I was just wondering how can I by triggering add a buff to a unit? I want to add two buffs called Lightning and Lightning (Caster). The spell is based off of Immolation and is supposed to have the same effect, just with some different models and stuff.

Thanks!
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
You create a summy unit and order it to cast a dummy spell on the target applying the buff.

  • Actions
    • // Create the dummy at the position of the unit you want to apply the buff to
    • Set p1 = (Position of (Target unit of ability being cast))
    • // Create a custom unit
    • Unit - Create 1 Dummy for Neutral Passive at p1 facing Default building facing degrees
    • // Use the order code of the dummy ability
    • Unit - Order (Last created unit) to Human Sorceress - Slow (Target unit of ability being cast)
    • // This makes the dummy to be removed
    • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
    • // Removes the leak
    • Custom script: call RemoveLocation(udg_p1)
You can dl some spells and to see how a dummy unit should be done.
 
Status
Not open for further replies.
Top