• 🏆 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!

[Trigger] Trigger not... well, triggering

Status
Not open for further replies.
Level 6
Joined
Dec 22, 2008
Messages
209
I didn't start wc3 modding that long ago, but I've been learning quickly (due to my mastery of the StarCraft editor). I'm trying to trigger some spells, but...

I'm having a problem where, when my hero casts a spell (psi restore), the trigger sometimes doesn't go off.
He casts the spell, and about 50% of the time the healing trigger doesn't work.

The trigger looks like this :

  • Psi Restore
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Psi Restore
  • Actions
    • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (a negative number) damage of attack type Spells and damage type Force
Anyone see what the problem is?
 
Level 6
Joined
Dec 22, 2008
Messages
209
I don't know why I didn't think of that, and now I kind of feel like an idiot. It did solve my problem, though.

Thanks for the help, Squiggy! Rep was given.
 
Status
Not open for further replies.
Top