More ordinal refactor
This commit is contained in:
1 parent
68088a3399
commit
04d9b76938
13 files changed
+56
-120
No files matched your search
@@ -865,10 +865,10 @@ public enum CombatManager {
|
||||
if (acItem == null || tarItem == null)
|
||||
return false;
|
||||
|
||||
Item acMain = acItem.getItemFromEquipped(1);
|
||||
Item acOff = acItem.getItemFromEquipped(2);
|
||||
Item tarMain = tarItem.getItemFromEquipped(1);
|
||||
Item tarOff = tarItem.getItemFromEquipped(2);
|
||||
Item acMain = acItem.getItemFromEquipped(EquipSlotType.RHELD);
|
||||
Item acOff = acItem.getItemFromEquipped(EquipSlotType.LHELD);
|
||||
Item tarMain = tarItem.getItemFromEquipped(EquipSlotType.RHELD);
|
||||
Item tarOff = tarItem.getItemFromEquipped(EquipSlotType.LHELD);
|
||||
|
||||
return !isRanged(acMain) && !isRanged(acOff) && !isRanged(tarMain) && !isRanged(tarOff);
|
||||
}
|
||||
@@ -886,7 +886,7 @@ public enum CombatManager {
|
||||
if (acItem == null || tarItem == null)
|
||||
return false;
|
||||
|
||||
Item tarOff = tarItem.getItemFromEquipped(2);
|
||||
Item tarOff = tarItem.getItemFromEquipped(EquipSlotType.LHELD);
|
||||
|
||||
if (tarOff == null)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user