Reflect
Events
Conditions
((Triggering unit) has buff Reflect ) Equal to True
(Random integer number between 0 and 100) Less than or equal to 10
Actions
Set Temp_Point = (Position of (Triggering unit))
Set ReflectGroup = (Units within 450.00 of Temp_Point matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
Set Dmgtaken = (Integer((Damage taken)))
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Real(Damagetaken)))
Unit Group - Pick every unit in ReflectGroup and do (Actions)
Loop - Actions
Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((Real(Dmgtaken)) / 10.00) damage of attack type Spells and damage type Universal
Custom script: call RemoveLocation(udg_Temp_Point)
Custom script: call DestroyGroup(udg_ReflectGroup)