Equipment slot refactor started.
This commit is contained in:
1 parent
7d1d8891ff
commit
d8d017669a
15 files changed
+163
-443
No files matched your search
@@ -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