Refactor skill_used

This commit is contained in:
2024-03-10 14:10:51 -04:00
parent e47bd6fba0
commit f616937236
5 changed files with 14 additions and 21 deletions
+2 -2
View File
@@ -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":