After a long time of digging around in the GUI i made this.
Should it work, does it leak?
Should it work, does it leak?
Code:
Maim
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Maim
Actions
Set Maim_Caster = (Triggering unit)
Set Maim_Target = (Target unit of ability being cast)
Unit - Cause (Triggering unit) to damage Maim_Target, dealing (((Real((Level of Maim for Maim_Caster))) x 75.00) + (2.00 x (Real((Agility of Maim_Caster (Include bonuses)))))) damage of attack type Hero and damage type Normal