• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,240
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