forked from MagicBane/Server
ItemManager created
This commit is contained in:
@@ -11,6 +11,7 @@ package engine.devcmd.cmds;
|
||||
|
||||
import engine.Enum;
|
||||
import engine.devcmd.AbstractDevCmd;
|
||||
import engine.gameManager.ItemManager;
|
||||
import engine.objects.*;
|
||||
|
||||
/**
|
||||
@@ -87,7 +88,7 @@ public class PrintStatsCmd extends AbstractDevCmd {
|
||||
//get weapons
|
||||
|
||||
if (tar.charItemManager.equipped.isEmpty() == false)
|
||||
if (tar.charItemManager.equipped.get(Enum.EquipSlotType.LHELD) != null && !ItemTemplate.isShield(tar.charItemManager.equipped.get(Enum.EquipSlotType.LHELD))) {
|
||||
if (tar.charItemManager.equipped.get(Enum.EquipSlotType.LHELD) != null && !ItemManager.isShield(tar.charItemManager.equipped.get(Enum.EquipSlotType.LHELD))) {
|
||||
//off hand weapon
|
||||
out += "Attack Rating: " + tar.atrHandTwo + newline;
|
||||
out += "Damage: " + tar.minDamageHandTwo + " - " + tar.maxDamageHandTwo + newline;
|
||||
|
||||
Reference in New Issue
Block a user