fix immunities

This commit is contained in:
2025-03-04 18:31:02 -06:00
parent f4af11b38f
commit c761cd982f
3 changed files with 30 additions and 101 deletions
+5 -2
View File
@@ -49,13 +49,16 @@ public class PrintEffectsCmd extends AbstractDevCmd {
String output = "Effects for Player:" + newline;
AbstractCharacter absTar = (AbstractCharacter) target;
for(Effect eff : absTar.effects.values()){
for(String key : absTar.effects.keySet()){
Effect eff = absTar.effects.get(key);
if(eff.getJobContainer() != null) {
output += eff.getName() + " (" + eff.getTrains() + ") " + eff.getJobContainer().timeToExecutionLeft() + newline;
output += "[" + key + "] " + eff.getName() + " (" + eff.getTrains() + ") " + eff.getJobContainer().timeToExecutionLeft() * 0.001f + newline;
}else{
output += eff.getName() + " (" + eff.getTrains() + ") " + "PERMANENT" + newline;
}
}
throwbackInfo(pc, output);
}