• 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] got a problem damage detection based triggered-critical strike spell

Status
Not open for further replies.

aggro

A

aggro

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.
 
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.
Back
Top