forked from MagicBane/Server
Refactor skill_used
This commit is contained in:
@@ -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