v0.6.5c: fixed a serious exploit involving the timekeeper's hourglass
This commit is contained in:
@@ -874,7 +874,6 @@ public class Hero extends Char {
|
||||
|
||||
if (enemy.isAlive() && canAttack( enemy ) && !isCharmedBy( enemy )) {
|
||||
|
||||
spend( attackDelay() );
|
||||
sprite.attack( enemy.pos );
|
||||
|
||||
return false;
|
||||
@@ -1433,6 +1432,7 @@ public class Hero extends Char {
|
||||
}
|
||||
|
||||
Invisibility.dispel();
|
||||
spend( attackDelay() );
|
||||
|
||||
curAction = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user