v0.9.0: fixed incorrect damage scaling with chill on frost wand
This commit is contained in:
parent
f7f5832145
commit
3c3a90d30a
|
@ -72,7 +72,7 @@ public class WandOfFrost extends DamageWand {
|
|||
if (ch.buff(Chill.class) != null){
|
||||
//6.67% less damage per turn of chill remaining, to a max of 10 turns (50% dmg)
|
||||
float chillturns = Math.min(10, ch.buff(Chill.class).cooldown());
|
||||
damage = (int)Math.round(damage * Math.pow(0.9633f, chillturns));
|
||||
damage = (int)Math.round(damage * Math.pow(0.9333f, chillturns));
|
||||
} else {
|
||||
ch.sprite.burst( 0xFF99CCFF, buffedLvl() / 2 + 2 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user