From 5da4b66f810f662cb47a358c4266ef2f62ece7bc Mon Sep 17 00:00:00 2001 From: fatboy Date: Thu, 18 Apr 2024 13:36:21 -0500 Subject: [PATCH] prinstats will now show regen rates --- src/engine/devcmd/cmds/PrintStatsCmd.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/devcmd/cmds/PrintStatsCmd.java b/src/engine/devcmd/cmds/PrintStatsCmd.java index 1b6b30ca..08116843 100644 --- a/src/engine/devcmd/cmds/PrintStatsCmd.java +++ b/src/engine/devcmd/cmds/PrintStatsCmd.java @@ -9,6 +9,7 @@ package engine.devcmd.cmds; +import engine.Enum; import engine.devcmd.AbstractDevCmd; import engine.objects.*; @@ -72,6 +73,11 @@ public class PrintStatsCmd extends AbstractDevCmd { out += "Main Hand: atr: " + tar.getAtrHandOne() + ", damage: " + tar.getMinDamageHandOne() + " to " + tar.getMaxDamageHandOne() + ", speed: " + tar.getSpeedHandOne() + newline; out += "Off Hand: atr: " + tar.getAtrHandTwo() + ", damage: " + tar.getMinDamageHandTwo() + " to " + tar.getMaxDamageHandTwo() + ", speed: " + tar.getSpeedHandTwo() + newline; out += "isAlive: " + tar.isAlive() + ", Combat: " + tar.isCombat() + newline; + out += "Health Regen: " + tar.getRegenModifier(Enum.ModType.HealthRecoverRate) + newline; + out += "Stamina Regen: " + tar.getRegenModifier(Enum.ModType.StaminaRecoverRate) + newline; + out += "Mana Regen: " + tar.getRegenModifier(Enum.ModType.ManaRecoverRate) + newline; + + throwbackInfo(pc, out); }