v0.2.3: tweaked hunger slightly, no longer interrupts movement.
This commit is contained in:
@@ -897,7 +897,9 @@ public class Hero extends Char {
|
||||
@Override
|
||||
public void damage( int dmg, Object src ) {
|
||||
restoreHealth = false;
|
||||
if (damageInterrupt) interrupt();
|
||||
|
||||
if (!(src instanceof Hunger) && damageInterrupt)
|
||||
interrupt();
|
||||
|
||||
if (this.buff(Drowsy.class) != null){
|
||||
Buff.detach(this, Drowsy.class);
|
||||
|
||||
Reference in New Issue
Block a user