v0.2.4: added more items to shops, tweaked several item prices.

This commit is contained in:
Evan Debenham
2015-02-09 22:32:59 -05:00
parent f0df50d42f
commit 78b4f36ccf
12 changed files with 92 additions and 43 deletions
@@ -125,7 +125,7 @@ public class Honeypot extends Item {
@Override
public int price() {
return 50 * quantity;
return 30 * quantity;
}
@Override
@@ -371,8 +371,9 @@ public class Item implements Bundlable {
return quantity;
}
public void quantity( int value ) {
public Item quantity( int value ) {
quantity = value;
return this;
}
public int price() {
@@ -96,7 +96,7 @@ public class Stylus extends Item {
@Override
public int price() {
return 50 * quantity;
return 30 * quantity;
}
@Override
@@ -230,9 +230,9 @@ public class Artifact extends KindofMisc {
@Override
public int price() {
int price = 200;
int price = 100;
if (level > 0)
price += 30*((level*10)/levelCap);
price += 50*((level*10)/levelCap);
if (cursed && cursedKnown) {
price /= 2;
}
@@ -265,7 +265,7 @@ public class Ring extends KindofMisc {
@Override
public int price() {
int price = 120;
int price = 75;
if (cursed && cursedKnown) {
price /= 2;
}
@@ -365,7 +365,7 @@ public abstract class Wand extends KindOfWeapon {
@Override
public int price() {
int price = 50;
int price = 75;
if (cursed && cursedKnown) {
price /= 2;
}
@@ -68,6 +68,6 @@ public class CurareDart extends MissileWeapon {
@Override
public int price() {
return 12 * quantity;
return 8 * quantity;
}
}
@@ -82,6 +82,6 @@ public class IncendiaryDart extends MissileWeapon {
@Override
public int price() {
return 10 * quantity;
return 5 * quantity;
}
}
@@ -66,6 +66,6 @@ public class Javelin extends MissileWeapon {
@Override
public int price() {
return 15 * quantity;
return 12 * quantity;
}
}
@@ -59,6 +59,6 @@ public class Shuriken extends MissileWeapon {
@Override
public int price() {
return 15 * quantity;
return 6 * quantity;
}
}
@@ -66,6 +66,6 @@ public class Tamahawk extends MissileWeapon {
@Override
public int price() {
return 20 * quantity;
return 15 * quantity;
}
}