Commit c2b8a20e authored by lhhxxxxx's avatar lhhxxxxx Committed by Melledy
Browse files

Update GiveAllCommand.java

giveall command nomore give arts
parent d8e458cd
...@@ -98,16 +98,16 @@ public class GiveAllCommand implements CommandHandler { ...@@ -98,16 +98,16 @@ public class GiveAllCommand implements CommandHandler {
if (isTestItem(itemdata.getId())) continue; if (isTestItem(itemdata.getId())) continue;
if (itemdata.isEquip()) { if (itemdata.isEquip()) {
if (itemdata.getItemType() == ItemType.ITEM_WEAPON) {
for (int i = 0; i < 5; ++i) { for (int i = 0; i < 5; ++i) {
GameItem item = new GameItem(itemdata); GameItem item = new GameItem(itemdata);
if (itemdata.getItemType() == ItemType.ITEM_WEAPON) {
item.setLevel(90); item.setLevel(90);
item.setPromoteLevel(6); item.setPromoteLevel(6);
item.setRefinement(4); item.setRefinement(4);
}
itemList.add(item); itemList.add(item);
} }
} }
}
else { else {
GameItem item = new GameItem(itemdata); GameItem item = new GameItem(itemdata);
item.setCount(amount); item.setCount(amount);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment