|
|
|
@ -919,4 +919,19 @@ public class ItemBase {
@@ -919,4 +919,19 @@ public class ItemBase {
|
|
|
|
|
public boolean isVorg(){ |
|
|
|
|
return LootManager.vorg_ha_uuids.contains(this.uuid) || LootManager.vorg_ma_uuids.contains(this.uuid) || LootManager.vorg_la_uuids.contains(this.uuid) || LootManager.vorg_cloth_uuids.contains(this.uuid); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String[] getVorgStats() { |
|
|
|
|
if(this.isLightArmor() || this.isMediumArmor() || this.isHeavyArmor() || this.isClothArmor()){ |
|
|
|
|
if(this.getValidSlot() == MBServerStatics.SLOT_FEET) { |
|
|
|
|
return new String[]{"PRE-130", "PRE-232", "PRE-212", "PRE-222", "SUF-007","SUF-150"}; |
|
|
|
|
}else { |
|
|
|
|
return new String[]{"PRE-130", "PRE-232", "PRE-212", "PRE-222", "SUF-007"}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} else if(this.isShield()){//shield
|
|
|
|
|
return new String[]{"SUF-265","PRE-123","PRE-232", "PRE-212", "PRE-222"}; |
|
|
|
|
} else{//weapon
|
|
|
|
|
return new String[]{"PRE-020","PRE-033",}; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|