Jump to content
EleTD.com
Sign in to follow this  
Arx

[4.1b]Frostbite's amplify damge bug, Frostbite bug

Recommended Posts

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

Share this post


Link to post

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.

Share this post


Link to post
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.

Share this post


Link to post
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?

Share this post


Link to post
Guest gunz.her0

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.

Share this post


Link to post
Sign in to follow this  

×
×
  • Create New...