|
|
@ -190,7 +190,10 @@ public enum ItemManager { |
|
|
|
if (!validForSkills(item, abstractCharacter.getSkills())) |
|
|
|
if (!validForSkills(item, abstractCharacter.getSkills())) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
if (canCharacterEquip(item, abstractCharacter) == false) |
|
|
|
if (!ValidRace(item, abstractCharacter.absRace)) |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!ValidClass(item, abstractCharacter.absBaseClass,abstractCharacter.absPromotionClass)) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
//players can't wear 0 value items.
|
|
|
|
//players can't wear 0 value items.
|
|
|
|