forked from MagicBane/Server
Equipment slot refactor started.
This commit is contained in:
@@ -440,7 +440,7 @@ public enum PowersManager {
|
||||
|
||||
for (PowerPrereq pp : pb.getEquipPrereqs()) {
|
||||
|
||||
int slot = pp.mainHand() ? MBServerStatics.SLOT_MAINHAND : MBServerStatics.SLOT_OFFHAND;
|
||||
EquipSlotType slot = pp.mainHand() ? EquipSlotType.RHELD : EquipSlotType.LHELD;
|
||||
|
||||
if (playerCharacter.validEquip(slot, pp.getMessage())) {
|
||||
passed = true; //should have item in slot
|
||||
|
||||
Reference in New Issue
Block a user