diff --git a/src/engine/devcmd/cmds/InfoCmd.java b/src/engine/devcmd/cmds/InfoCmd.java index e59f0ff9..2134a1d9 100644 --- a/src/engine/devcmd/cmds/InfoCmd.java +++ b/src/engine/devcmd/cmds/InfoCmd.java @@ -19,6 +19,7 @@ import engine.gameManager.PowersManager; import engine.gameManager.SessionManager; import engine.math.Vector3fImmutable; import engine.objects.*; +import engine.powers.EffectsBase; import engine.powers.PowersBase; import engine.server.MBServerStatics; import engine.util.StringUtils; @@ -503,8 +504,8 @@ public class InfoCmd extends AbstractDevCmd { output += "RANGE: " + targetMob.mobBase.getAttackRange() + newline; output += "Effects:" + newline; for(MobBaseEffects mbe : targetMob.mobBase.mobbaseEffects){ - PowersBase pb = PowersManager.getPowerByToken(mbe.getToken()); - output += pb.name + newline; + EffectsBase eb = PowersManager.getEffectByToken(mbe.getToken()); + output += eb.getName() + newline; } break; case Item: //intentional passthrough diff --git a/src/engine/objects/MobBase.java b/src/engine/objects/MobBase.java index 0ea544eb..cdc00e9f 100644 --- a/src/engine/objects/MobBase.java +++ b/src/engine/objects/MobBase.java @@ -309,7 +309,7 @@ public class MobBase extends AbstractGameObject { public static void applyMobbaseEffects(Mob mob){ for(MobBaseEffects mbe : mob.mobBase.mobbaseEffects){ - if(mob.level == mbe.getReqLvl()){ + if(mob.level >= mbe.getReqLvl()){ try { //PowersManager.applyPower(mob, mob, mob.loc, mbe.getToken(), mbe.getRank(), false); EffectsBase effectsBase = PowersManager.getEffectByToken(mbe.getToken());