v0.3.4b: fixed some inconsistencies with the great crab
This commit is contained in:
parent
58f7e3755d
commit
7bdb7b0f1a
|
@ -66,7 +66,8 @@ public class GreatCrab extends Crab {
|
|||
public void damage( int dmg, Object src ){
|
||||
//crab blocks all attacks originating from the hero or enemy characters or traps if it is alerted.
|
||||
//All direct damage from these sources is negated, no exceptions. blob/debuff effects go through as normal.
|
||||
if (enemySeen && (src instanceof Wand || src instanceof LightningTrap.Electricity || src instanceof Char)){
|
||||
if ((enemySeen && state != SLEEPING && paralysed == 0)
|
||||
&& (src instanceof Wand || src instanceof LightningTrap.Electricity || src instanceof Char)){
|
||||
GLog.n( Messages.get(this, "noticed") );
|
||||
sprite.showStatus( CharSprite.NEUTRAL, Messages.get(this, "blocked") );
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user