From bb7ba9a6dff9d09ce156a8eb8449a646cec50251 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 18 Jan 2025 15:07:35 -0600 Subject: [PATCH] mobbase effect info command --- src/engine/devcmd/cmds/InfoCmd.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/engine/devcmd/cmds/InfoCmd.java b/src/engine/devcmd/cmds/InfoCmd.java index 3dcecda1..e59f0ff9 100644 --- a/src/engine/devcmd/cmds/InfoCmd.java +++ b/src/engine/devcmd/cmds/InfoCmd.java @@ -496,13 +496,11 @@ public class InfoCmd extends AbstractDevCmd { output += newline; output += "No building found." + newline; } - int max = (int)(4.882 * targetMob.level + 121.0); - if(max > 321){ - max = 321; - } - int min = (int)(4.469 * targetMob.level - 3.469); - output += "Min Loot Roll = " + min + newline; - output += "Max Loot Roll = " + max + newline; + + output += "Damage: " + targetMob.mobBase.getDamageMin() + " - " + targetMob.mobBase.getDamageMax() + newline; + output += "ATR: " + targetMob.mobBase.getAttackRating() + newline; + output += "DEF: " + targetMob.mobBase.getDefenseRating() + newline; + output += "RANGE: " + targetMob.mobBase.getAttackRange() + newline; output += "Effects:" + newline; for(MobBaseEffects mbe : targetMob.mobBase.mobbaseEffects){ PowersBase pb = PowersManager.getPowerByToken(mbe.getToken());