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

damage detection spell

Status
Not open for further replies.
Level 2
Joined
Feb 15, 2011
Messages
6
Sorry if i bad with english but please help my following triggers:
Damage Detection
Events:
Unit - Unit is attacked
Conditions:
((Attacking Unit)) has buff Damage Boost) Equal to True
Actions:
Trigger - Add to Damage Boost Dealt <gen> the event (Unit - (Triggering unit) Takes damage)

Damage Boost Dealt
Events:
Conditions:
Actions:
Unit - Cause (Damage source) to damage (Triggering Unit), dealing (Damage Taken) damage of attack type Hero and damage type Normal
Unit - Remove Damage Boost Buff from (Damage source)

When i test this trigger, it always crashed. Help please.
 
Level 11
Joined
Nov 15, 2007
Messages
800
Infinite loop. Turn the damage boost trigger off at the start and on after the other actions.

Also be aware that this damage will proc off any damage dealt, not just normal attack damage. Which is why it loops infinitely because every time the target receives damage, they receive another instance of damage.
 
Status
Not open for further replies.
Top