I want to make item which has 10% chance to absorb and reflect incoming damage. I'm not sure this trigger will work:/ If not please somone to show me how to make trigger like this...thx
Trigger:
- Shield of Retribution learn
- Events
- Map initialization
- Conditions
- Actions
- Trigger - Add to Shield of Retribution <gen> the event (Unit - (Triggering unit) Takes damage)
- Events
Trigger:
- Shield of Retribution
- Events
- Conditions
- (Random integer number between 1 and 100) Lesser or Equal to 10
- ((Triggering unit) has an item of type Shield of Retribution) Equal to
- Actions
- Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Damage taken))
- Unit - Cause (Triggering unit) to damage (Damage source), dealing (Damage taken) damage of attack type Chaos and damage type Power