v0.4.1a: adjusted timing for invisibility dispel
This commit is contained in:
parent
ab8996edfe
commit
bc020cfa5b
|
@ -856,7 +856,8 @@ public class Hero extends Char {
|
|||
enemy = action.target;
|
||||
|
||||
if (enemy.isAlive() && canAttack( enemy ) && !isCharmedBy( enemy )) {
|
||||
|
||||
|
||||
Invisibility.dispel();
|
||||
spend( attackDelay() );
|
||||
sprite.attack( enemy.pos );
|
||||
|
||||
|
@ -1386,8 +1387,6 @@ public class Hero extends Char {
|
|||
}
|
||||
|
||||
curAction = null;
|
||||
|
||||
Invisibility.dispel();
|
||||
|
||||
super.onAttackComplete();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user