V0.2.0b: Corrected artifact sale value

This commit is contained in:
Evan Debenham 2014-09-17 18:53:04 -04:00
parent c5a15a0441
commit f29b00bf99

View File

@ -192,7 +192,7 @@ public class Artifact extends KindofMisc {
public int price() { public int price() {
int price = 200; int price = 200;
if (level > 0) if (level > 0)
price += 30*level; price += 30*((level*10)/levelCap);
if (cursed && cursedKnown) { if (cursed && cursedKnown) {
price /= 2; price /= 2;
} }