v2.5.0: fixed errors with DM-300 and vertigo
This commit is contained in:
@@ -319,14 +319,14 @@ public class DM300 extends Mob {
|
||||
|
||||
if (travelling) PixelScene.shake( supercharged ? 3 : 1, 0.25f );
|
||||
|
||||
if (Dungeon.level.map[step] == Terrain.INACTIVE_TRAP && state == HUNTING) {
|
||||
if (Dungeon.level.map[pos] == Terrain.INACTIVE_TRAP && state == HUNTING) {
|
||||
|
||||
//don't gain energy from cells that are energized
|
||||
if (CavesBossLevel.PylonEnergy.volumeAt(pos, CavesBossLevel.PylonEnergy.class) > 0){
|
||||
return;
|
||||
}
|
||||
|
||||
if (Dungeon.level.heroFOV[step]) {
|
||||
if (Dungeon.level.heroFOV[pos]) {
|
||||
if (buff(Barrier.class) == null) {
|
||||
GLog.w(Messages.get(this, "shield"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user