v2.4.0: fixed sneak granting 2 effective turns of invis instead of 1

This commit is contained in:
Evan Debenham
2024-02-25 13:12:38 -05:00
parent 89fe77784e
commit aa507c7efc

View File

@@ -117,7 +117,7 @@ public class Dagger extends MeleeWeapon {
} }
wep.beforeAbilityUsed(hero, null); wep.beforeAbilityUsed(hero, null);
Buff.affect(hero, Invisibility.class, Actor.TICK); Buff.affect(hero, Invisibility.class);
hero.next(); hero.next();
Dungeon.hero.sprite.turnTo( Dungeon.hero.pos, target); Dungeon.hero.sprite.turnTo( Dungeon.hero.pos, target);