v2.0.0: cleaned up a few tiny errors in rapier and sword abilities
This commit is contained in:
@@ -109,7 +109,7 @@ public class Rapier extends MeleeWeapon {
|
||||
@Override
|
||||
public void call() {
|
||||
//+3+lvl damage, equivalent to +67% damage, but more consistent
|
||||
if (hero.attack(enemy, 1f, 3 + level(), Char.INFINITE_ACCURACY)){
|
||||
if (hero.attack(enemy, 1f, augment.damageFactor(3 + level()), Char.INFINITE_ACCURACY)){
|
||||
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
||||
}
|
||||
onAbilityUsed(hero);
|
||||
|
||||
@@ -79,9 +79,10 @@ public class Sword extends MeleeWeapon {
|
||||
hero.sprite.attack(enemy.pos, new Callback() {
|
||||
@Override
|
||||
public void call() {
|
||||
hero.attack(enemy, dmgMulti, 0, Char.INFINITE_ACCURACY);
|
||||
if (hero.attack(enemy, dmgMulti, 0, Char.INFINITE_ACCURACY)){
|
||||
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
||||
}
|
||||
wep.onAbilityUsed(hero);
|
||||
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
||||
|
||||
if (!enemy.isAlive()){
|
||||
hero.next();
|
||||
|
||||
Reference in New Issue
Block a user