v2.4.0: fixed greataxe ability not using new damage formula
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ public class Greataxe extends MeleeWeapon {
|
|||||||
//+(12.5+(1.75*lvl)) damage, equivalent to +50% damage
|
//+(12.5+(1.75*lvl)) damage, equivalent to +50% damage
|
||||||
int dmgBoost = augment.damageFactor(Math.round(12.5f + 1.75f*buffedLvl()));
|
int dmgBoost = augment.damageFactor(Math.round(12.5f + 1.75f*buffedLvl()));
|
||||||
|
|
||||||
if (hero.attack(enemy, 1.50f, 0, Char.INFINITE_ACCURACY)){
|
if (hero.attack(enemy, 1, dmgBoost, Char.INFINITE_ACCURACY)){
|
||||||
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
||||||
if (!enemy.isAlive()){
|
if (!enemy.isAlive()){
|
||||||
onAbilityKill(hero, enemy);
|
onAbilityKill(hero, enemy);
|
||||||
|
|||||||
Reference in New Issue
Block a user