• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Problem with Wait until unit has buff

Status
Not open for further replies.
Level 1
Joined
May 27, 2012
Messages
2
I have an ability based on Shadow Strike that applies a buff called Struck by Fireball. I've removed all damage from the ability and it does nothing but apply the buff for 4 seconds. I then want to wait until the projectile hits the target and applies the buff so I can deal custom damage. The problem is, the buff is applied, but the rest of the effects never happen.

Here's the code:
  • Events
  • Unit - A unit Finishes casting an ability
  • Conditions
  • (Ability being cast) Equal to Fireball
  • Actions
  • Wait until ((Target unit of ability being cast) has buff Struck by Fireball Equal to True), checking every 1.00 seconds
  • Game - Display to (All players) the text: You should see this
Is there anything blatantly wrong with what I'm doing? It never gets into the display text action. Thanks in advance!
 
Level 1
Joined
May 27, 2012
Messages
2
Thanks guys. I might as well edit a projectile system I already created like MortAr said, I was just trying to see what I could do by adjusting Blizzard's spells.

@HammerFist132 The action is called Wait for Condition, the condition was for unit to have a specific buff.
 
Status
Not open for further replies.
Top