• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Trigger not... well, triggering

Status
Not open for further replies.
Level 6
Joined
Dec 22, 2008
Messages
207
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?
 
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.
Back
Top