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

Buff Condition?

Status
Not open for further replies.
Level 2
Joined
Jul 15, 2004
Messages
5
I want to make a spell that the caster throws a missle and when it hits the trigger should start the action. I´m using Drunken Haze with a 0.1sec buff.
First i tried wanted to try this (with integer):

-unit casts spell
-spell equal to xxx
-wait for condition (number of buffs from target unit matching (matching buff equal to drunken haze) equal to 1) checking every 0.01sec

but i havent found something like that in gui, so i wanted to try this (with buff):

-unit casts spell
-spell equal to xxx
-wait for condition (random buff from buffs of target unit matching (matching buff is equal to drunken haze) is equal to drunken haze) checking 0.01sec

but i havent found something like that in gui too.

so anyone can help me how to do this?
 
Level 5
Joined
Jun 21, 2004
Messages
148
Eusira said:
That will cripple map performance to some degree, but the phrase "unit starts the effect of an ability," see if your requirements need it to be an instant spell, and even better, after .01 seconds, make a 50 integer loop that checks around the unit for the buff

Very good, and Raven you should know better than to use every .01 seconds... :eek:
 
Status
Not open for further replies.
Top