• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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