Arx Posted September 27, 2009 Polar/Ice Age Bites enemies with bitter coldness, taking away 7%/30% of current HP. Damage done during this time is amplified by 3.5%/15%. Lasts 15 seconds. When Debuff is gone, that 7%/30% of current HP will back. (Frostbite heals the target!) This bug also appeared in 4.1. function GRV takes nothing returns nothing local unit u=GetSpellTargetUnit() local unit u2=GetTriggerUnit() local effect B0V=AddSpecialEffectTarget("Abilities\\Spells\\Undead\\FreezingBreath\\FreezingBreathTargetArt.mdl",u,"origin") local real D8=.0 local real hp=.0 local real L6=.0 call GroupAddUnit(CL,u) set hp=GetWidgetLife(u) call SetWidgetLife(u,hp-(hp/ GEV(GetUnitAbilityLevel(u2,'A01M')))) set L6=GetWidgetLife(u) call N5((15.)) set D8=L6-GetWidgetLife(u) call SetWidgetLife(u,hp-(D8*GXV(GetUnitAbilityLevel(u2,'A01M')))) //The "hp" should be replaced by "L6"? call DestroyEffect(B0V) call GroupRemoveUnit(CL,u) set u=null set B0V=null endfunction Go to top Share this post Link to post
Deaod Posted September 28, 2009 What bug? Wheres the bug? That script seems to do what it should do. Go to top Share this post Link to post
Arx Posted September 28, 2009 For example, a target has 10000 HP. It takes frostbite. (7000 HP remain) 15 seconds later. (Assuming that it has not been any attack) It's HP back to 10000. Go to top Share this post Link to post
Karawasa Posted September 29, 2009 Bites enemies with bitter coldness, taking away 7%/30% of current HP. Damage done during this time is amplified by 3.5%/15%. Lasts 15 seconds. Perhaps the wording is ambiguous. Here is a better version. Temporarily bites enemies with bitter coldness, taking away 7%/30% of current HP. Damage done during this effect is amplified by 3.5%/15%. Lasts 15 seconds. Go to top Share this post Link to post
Arx Posted September 29, 2009 Bites enemies with bitter coldness, taking away 7%/30% of current HP. Damage done during this time is amplified by 3.5%/15%. Lasts 15 seconds. Perhaps the wording is ambiguous. Here is a better version. Temporarily bites enemies with bitter coldness, taking away 7%/30% of current HP. Damage done during this effect is amplified by 3.5%/15%. Lasts 15 seconds. After 15 seconds, 15% damage "Amplify damage" can not be bigger than 30% of "curren" HP heal. It is a bit disappointing. Maybe to change the "Amplify damage" into a dynamic? Go to top Share this post Link to post
Guest gunz.her0 Posted September 30, 2009 i know what you mean arx, but if you think about your way, then I would just put a lvl 2 polar tower at the beginning, which instantly deals 30% damage to creeps. This is will come under exploiting tower mechanics imo. So perhaps it is ok for the health to return after the duration if the creep isnt dead. Go to top Share this post Link to post