v2.1.2: fixed rapier lunge updating visibility after attack not before
This commit is contained in:
+1
@@ -121,6 +121,7 @@ public class Rapier extends MeleeWeapon {
|
|||||||
}
|
}
|
||||||
hero.pos = dest;
|
hero.pos = dest;
|
||||||
Dungeon.level.occupyCell(hero);
|
Dungeon.level.occupyCell(hero);
|
||||||
|
Dungeon.observe();
|
||||||
|
|
||||||
if (enemy != null && hero.canAttack(enemy)) {
|
if (enemy != null && hero.canAttack(enemy)) {
|
||||||
hero.sprite.attack(enemy.pos, new Callback() {
|
hero.sprite.attack(enemy.pos, new Callback() {
|
||||||
|
|||||||
Reference in New Issue
Block a user