v2.5.1: fixed Goo and DM-300 benefitting from terrain while levitating
This commit is contained in:
@@ -323,7 +323,7 @@ public class DM300 extends Mob {
|
||||
|
||||
if (travelling) PixelScene.shake( supercharged ? 3 : 1, 0.25f );
|
||||
|
||||
if (Dungeon.level.map[pos] == Terrain.INACTIVE_TRAP && state == HUNTING) {
|
||||
if (!flying && 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){
|
||||
|
||||
@@ -106,7 +106,7 @@ public class Goo extends Mob {
|
||||
sprite.idle();
|
||||
}
|
||||
|
||||
if (Dungeon.level.water[pos] && HP < HT) {
|
||||
if (!flying && Dungeon.level.water[pos] && HP < HT) {
|
||||
HP += healInc;
|
||||
Statistics.qualifiedForBossChallengeBadge = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user