- Joined
- Oct 25, 2009
- Messages
- 995
I am making an Ability of Steal hp and mana with percentage,but it cast will let my hero full hp(enemy hero hp very less),and sometime it doesn't work.when enemy hero hp was low(red hp),i ulti them them will auto dead(i no steal hp)
Here is the trigger,simple xD:
Here is the trigger,simple xD:
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Double Change
-
-
[Actions
-
Set DC_Caster = (Casting unit)
-
Set DC_Target = (Target unit of ability being cast)
-
Set DC_Percentange = (10.00 + (10.00 x (Real((Level of Double Change for DC_Caster)))))
-
Unit - Set life of DC_Caster to ((Percentage life of DC_Caster) + DC_Percentange)%
-
Unit - Set life of DC_Caster to ((Percentage mana of DC_Caster) + DC_Percentange)%
-
Unit - Set life of DC_Target to ((Percentage life of DC_Target) - DC_Percentange)%
-
Unit - Set life of DC_Target to ((Percentage mana of DC_Target) - DC_Percentange)%
-