- Joined
- Jan 2, 2015
- Messages
- 171
hi everyone. i am making aura that have 25% chance to absorb damage and convert 25% of damage to hp (for example unit A taking 100 damage, he will block 100 damage and healed for 25 HP). But my problem is Boss also get cured even he dont have this aura and sometimes my unit recovered their HP from their own damage instead of using damage taken from boss. any solution for this?
i use Damage Modification trigger from someone in this forum ( sorry i dont know his name)
i tried testing it with chance 100%
i use Damage Modification trigger from someone in this forum ( sorry i dont know his name)
i tried testing it with chance 100%
-
Set Chance = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Chance Less than or equal to 100
-
DamageEventType Equal to 0
-
(DamageEventTarget has buff Dalaran Aura ) Equal to True
-
-
Then - Actions
-
Wait 0.10 seconds
-
Special Effect - Create a special effect attached to the origin of (DamageEventTarget) using Abilities\Spells\Human\Heal\HealTarget.mdl
-
Unit - Set life of DamageEventTarget to ((Life of DamageEventTarget) + (DamageEventAmount x 1.30))
-
-
Else - Actions
-
Last edited by a moderator: