Refactor item_type
This commit is contained in:
1 parent
87290baa52
commit
df5c607375
24 files changed
+137
-203
No files matched your search
@@ -220,7 +220,7 @@ public class ItemFactory {
|
||||
int suffixCost = 0;
|
||||
|
||||
|
||||
if (ib.getType() == ItemType.WEAPON && ib.getPercentRequired() == 110) {
|
||||
if (template.item_type.equals(ItemType.WEAPON) && ib.getPercentRequired() == 110) {
|
||||
switch (ib.getSkillRequired()) {
|
||||
case "Bow":
|
||||
case "Crossbow":
|
||||
@@ -814,7 +814,7 @@ public class ItemFactory {
|
||||
int galvorAmount = 0;
|
||||
int wormwoodAmount = 0;
|
||||
|
||||
if (ib.getType() == ItemType.WEAPON && ib.getPercentRequired() == 110) {
|
||||
if (template.item_type.equals(ItemType.WEAPON) && ib.getPercentRequired() == 110) {
|
||||
switch (ib.getSkillRequired()) {
|
||||
case "Bow":
|
||||
case "Crossbow":
|
||||
|
||||
Reference in new issue
Block a user