Refactor skill_used
This commit is contained in:
1 parent
e47bd6fba0
commit
f616937236
5 files changed
+14
-21
No files matched your search
@@ -221,7 +221,7 @@ public class ItemFactory {
|
||||
|
||||
|
||||
if (template.item_type.equals(ItemType.WEAPON) && ib.getPercentRequired() == 110) {
|
||||
switch (ib.getSkillRequired()) {
|
||||
switch (template.item_skill_used) {
|
||||
case "Bow":
|
||||
case "Crossbow":
|
||||
case "Spear":
|
||||
@@ -815,7 +815,7 @@ public class ItemFactory {
|
||||
int wormwoodAmount = 0;
|
||||
|
||||
if (template.item_type.equals(ItemType.WEAPON) && ib.getPercentRequired() == 110) {
|
||||
switch (ib.getSkillRequired()) {
|
||||
switch (template.item_skill_used) {
|
||||
case "Bow":
|
||||
case "Crossbow":
|
||||
case "Spear":
|
||||
|
||||
Reference in new issue
Block a user