use of com.watabou.pixeldungeon.items.weapon.missiles.CommonArrow in project pixel-dungeon-remix by NYRDS.
the class TownShopLevel method makeShop.
private void makeShop() {
ArrayList<Item> items = new ArrayList<>();
items.add(new LeatherArmor().identify());
items.add(new Dagger().identify());
items.add(new Knuckles().identify());
items.add(new Sword().identify());
items.add(new Quarterstaff().identify());
items.add(new TomeOfKnowledge().identify());
for (int i = 0; i < 3; i++) {
items.add(new OverpricedRation());
items.add(new Dart(5).identify());
items.add(new CommonArrow(25));
items.add(new Torch().identify());
}
items.add(new Keyring());
items.add(new ScrollHolder());
items.add(new PotionBelt());
items.add(new SeedPouch());
items.add(new Quiver());
items.add(new WandHolster());
Item[] range = items.toArray(new Item[items.size()]);
for (Item item : range) {
itemForSell(item);
}
}
use of com.watabou.pixeldungeon.items.weapon.missiles.CommonArrow in project pixel-dungeon-remix by NYRDS.
the class PotionOfPurity method moistenArrow.
@Override
protected void moistenArrow(Arrow arrow) {
int quantity = reallyMoistArrows(arrow);
CommonArrow moistenArrows = new CommonArrow(quantity);
getCurUser().collect(moistenArrows);
}
Aggregations