v0.4.1a: adjusted timing for invisibility dispel
This commit is contained in:
parent
ab8996edfe
commit
bc020cfa5b
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user