Update GiveAllCommand.java

giveall command nomore give arts
This commit is contained in:
lhhxxxxx 2022-04-30 15:28:49 +08:00 committed by Melledy
parent d8e458cd33
commit c2b8a20e03

View File

@ -98,16 +98,16 @@ public class GiveAllCommand implements CommandHandler {
if (isTestItem(itemdata.getId())) continue;
if (itemdata.isEquip()) {
if (itemdata.getItemType() == ItemType.ITEM_WEAPON) {
for (int i = 0; i < 5; ++i) {
GameItem item = new GameItem(itemdata);
if (itemdata.getItemType() == ItemType.ITEM_WEAPON) {
item.setLevel(90);
item.setPromoteLevel(6);
item.setRefinement(4);
}
itemList.add(item);
}
}
}
else {
GameItem item = new GameItem(itemdata);
item.setCount(amount);