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