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

[Trigger] got a problem damage detection based triggered-critical strike spell

Status
Not open for further replies.
Level 2
Joined
Apr 19, 2008
Messages
5
This is problem section of my triggered-critical strike GUI
  • Crit
    • Events
      • Unit - A unit is attacked
    • Conditions
    • Actions
      • Trigger - Add to Crit Effect <gen> the event (Unit - (Triggering Unit) Takes damage)
  • Crit Effect
    • Events
    • Conditions
    • Actions
      • Unit - Cause (Damage Source) to damage (Triggering Unit), dealing Damage taken type bla bla

Every time i attack the target, damage done is multiplying. i mean it doesnt goes 2x. it goes 2x 3x 4x 5x etc.where is the problem? why thats happening?

thnx for your helps anyway

btw sorry for my bad grammer.
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
You get one new event on every time whe the unit is attacked. Thats why its first 2, then 3 and then 4. You need to change the event of your first trigger to the Map Initialization and pick all units in a playeable map or something that happens only once for that unit. Or "unit is sold".
 
Status
Not open for further replies.
Top