V0.2.0a: Made Artifacts sellable, buffed ring sale price (as they are stronger now)
This commit is contained in:
@@ -188,6 +188,17 @@ public class Artifact extends KindofMisc {
|
||||
partialCharge = bundle.getFloat( PARTIALCHARGE );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public int price() {
|
||||
int price = 200;
|
||||
if (level > 0)
|
||||
price += 30*level;
|
||||
if (cursed && cursedKnown) {
|
||||
price /= 2;
|
||||
}
|
||||
if (price < 1) {
|
||||
price = 1;
|
||||
}
|
||||
return price;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -263,7 +263,7 @@ public class Ring extends KindofMisc {
|
||||
|
||||
@Override
|
||||
public int price() {
|
||||
int price = 80;
|
||||
int price = 120;
|
||||
if (cursed && cursedKnown) {
|
||||
price /= 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user