|
|
|
@ -207,10 +207,8 @@ public class ItemBase {
@@ -207,10 +207,8 @@ public class ItemBase {
|
|
|
|
|
AnniversaryGifts.add(5101060); |
|
|
|
|
AnniversaryGifts.add(5101080); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void initBakedInStats() { |
|
|
|
|
DbManager.ItemBaseQueries.LOAD_BAKEDINSTATS(this); |
|
|
|
|
} |
|
|
|
@ -227,11 +225,6 @@ public class ItemBase {
@@ -227,11 +225,6 @@ public class ItemBase {
|
|
|
|
|
return ID > 249999 && ID < 252137; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean isStatRune() { |
|
|
|
|
int ID = uuid; |
|
|
|
|
return ID > 249999 && ID < 250045; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean isDiscRune() { |
|
|
|
|
int ID = uuid; |
|
|
|
|
//class, discipline runes
|
|
|
|
@ -243,29 +236,6 @@ public class ItemBase {
@@ -243,29 +236,6 @@ public class ItemBase {
|
|
|
|
|
return ID > 7000099 && ID < 7000281; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isMasteryRune() { |
|
|
|
|
int ID = uuid; |
|
|
|
|
if (ID > 250114 && ID < 252128) |
|
|
|
|
switch (ID) { |
|
|
|
|
case 250115: |
|
|
|
|
case 250118: |
|
|
|
|
case 250119: |
|
|
|
|
case 250120: |
|
|
|
|
case 250121: |
|
|
|
|
case 250122: |
|
|
|
|
case 252123: |
|
|
|
|
case 252124: |
|
|
|
|
case 252125: |
|
|
|
|
case 252126: |
|
|
|
|
case 252127: |
|
|
|
|
return true; |
|
|
|
|
default: |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//returns powers tokens baked in to item
|
|
|
|
|
public HashMap<Integer, Integer> getBakedInStats() { |
|
|
|
|
return this.bakedInStats; |
|
|
|
@ -297,10 +267,6 @@ public class ItemBase {
@@ -297,10 +267,6 @@ public class ItemBase {
|
|
|
|
|
return modTable; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int getVendorType() { |
|
|
|
|
return vendorType; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setVendorType(int vendorType) { |
|
|
|
|
this.vendorType = vendorType; |
|
|
|
|
} |
|
|
|
@ -309,10 +275,6 @@ public class ItemBase {
@@ -309,10 +275,6 @@ public class ItemBase {
|
|
|
|
|
return hashID; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setHashID(int hashID) { |
|
|
|
|
this.hashID = hashID; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean canEquip(Enum.EquipSlotType slot, CharacterItemManager itemManager, AbstractCharacter abstractCharacter, Item item) { |
|
|
|
|
|
|
|
|
|
if (itemManager == null || abstractCharacter == null) |
|
|
|
@ -388,13 +350,6 @@ public class ItemBase {
@@ -388,13 +350,6 @@ public class ItemBase {
|
|
|
|
|
return mastery; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @return the blockMod |
|
|
|
|
*/ |
|
|
|
|
public float getBlockMod() { |
|
|
|
|
return blockMod; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @return the defense |
|
|
|
|
*/ |
|
|
|
@ -430,13 +385,6 @@ public class ItemBase {
@@ -430,13 +385,6 @@ public class ItemBase {
|
|
|
|
|
return isStrBased; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @return the parryBonus |
|
|
|
|
*/ |
|
|
|
|
public float getParryBonus() { |
|
|
|
|
return parryBonus; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @return the maxDamage |
|
|
|
|
*/ |
|
|
|
|