v0.4.1a: adjusted timing for invisibility dispel

This commit is contained in:
Evan Debenham 2016-08-08 20:11:11 -04:00
parent ab8996edfe
commit bc020cfa5b

View File

@ -857,6 +857,7 @@ public class Hero extends Char {
if (enemy.isAlive() && canAttack( enemy ) && !isCharmedBy( enemy )) { if (enemy.isAlive() && canAttack( enemy ) && !isCharmedBy( enemy )) {
Invisibility.dispel();
spend( attackDelay() ); spend( attackDelay() );
sprite.attack( enemy.pos ); sprite.attack( enemy.pos );
@ -1387,8 +1388,6 @@ public class Hero extends Char {
curAction = null; curAction = null;
Invisibility.dispel();
super.onAttackComplete(); super.onAttackComplete();
} }