v2.0.0: fixed mimics setting enemySeen to true for no reason
This commit is contained in:
@@ -117,7 +117,6 @@ public class CrystalMimic extends Mimic {
|
||||
if (Actor.chars().contains(this) && Dungeon.level.heroFOV[pos]) {
|
||||
enemy = Dungeon.hero;
|
||||
target = Dungeon.hero.pos;
|
||||
enemySeen = true;
|
||||
GLog.w(Messages.get(this, "reveal") );
|
||||
CellEmitter.get(pos).burst(Speck.factory(Speck.STAR), 10);
|
||||
Sample.INSTANCE.play(Assets.Sounds.MIMIC, 1, 1.25f);
|
||||
|
||||
@@ -69,7 +69,6 @@ public class GoldenMimic extends Mimic {
|
||||
if (Actor.chars().contains(this) && Dungeon.level.heroFOV[pos]) {
|
||||
enemy = Dungeon.hero;
|
||||
target = Dungeon.hero.pos;
|
||||
enemySeen = true;
|
||||
GLog.w(Messages.get(this, "reveal") );
|
||||
CellEmitter.get(pos).burst(Speck.factory(Speck.STAR), 10);
|
||||
Sample.INSTANCE.play(Assets.Sounds.MIMIC, 1, 0.85f);
|
||||
|
||||
@@ -181,7 +181,6 @@ public class Mimic extends Mob {
|
||||
if (Actor.chars().contains(this) && Dungeon.level.heroFOV[pos]) {
|
||||
enemy = Dungeon.hero;
|
||||
target = Dungeon.hero.pos;
|
||||
enemySeen = true;
|
||||
GLog.w(Messages.get(this, "reveal") );
|
||||
CellEmitter.get(pos).burst(Speck.factory(Speck.STAR), 10);
|
||||
Sample.INSTANCE.play(Assets.Sounds.MIMIC);
|
||||
|
||||
Reference in New Issue
Block a user