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

Item / Spell Combo help

Status
Not open for further replies.
Level 4
Joined
Aug 2, 2007
Messages
69
I'm trying to make an item so that it does a certain spell without activating it. Kind of like a passive spell. Basically I have a sword, I gave it two abilities, one is to add damage, the other is lightning shield. when i went to test it out, lightning shield effects weren't happening. I know I'm missing something, but I don't know what it is, any help?
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
Make the "Lightning Shield" skill based off of something like Permanet Immolation.

Next, make a Buff with the Lightning Shield effects that you like and add it to Immolation.

Then just run this:
Code:
Shield
    Events
        Time - Every 0.10 seconds of game time
    Conditions
        ((Targeted unit) is A ground unit) Equal to True
        ((Targeted unit) has buff [b]Your Buff Here[/b]) Equal to True
    Actions
        Unit - Set (Targeted unit) movement speed to ((Current movement speed of (Targeted unit)) mod [b]Your Divisor Here[/b])
        If (((Targeted unit) has buff [b]Your Buff Here[/b]) Equal to False) then do (Unit - Set (Targeted unit) movement speed to (Default movement speed of (Targeted unit))) else do (Do nothing)
 
Last edited:
Status
Not open for further replies.
Top