v0.4.1: a couple more price changes
This commit is contained in:
parent
375b3acdae
commit
efa9c3bb73
|
@ -366,7 +366,9 @@ public class Armor extends EquipableItem {
|
|||
|
||||
@Override
|
||||
public int price() {
|
||||
int price = 20 * (1 << (tier - 1));
|
||||
if (seal != null) return 0;
|
||||
|
||||
int price = 20 * tier;
|
||||
if (hasGoodGlyph()) {
|
||||
price *= 1.5;
|
||||
}
|
||||
|
|
|
@ -162,6 +162,11 @@ public class CloakOfShadows extends Artifact {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int price() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public class cloakRecharge extends ArtifactBuff{
|
||||
@Override
|
||||
public boolean act() {
|
||||
|
|
|
@ -281,6 +281,11 @@ public class MagesStaff extends MeleeWeapon {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int price() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
private final WndBag.Listener itemSelector = new WndBag.Listener() {
|
||||
@Override
|
||||
public void onSelect( final Item item ) {
|
||||
|
|
|
@ -104,7 +104,7 @@ public class MeleeWeapon extends Weapon {
|
|||
|
||||
@Override
|
||||
public int price() {
|
||||
int price = 20 * (1 << (tier - 1));
|
||||
int price = 20 * tier;
|
||||
if (hasGoodEnchant()) {
|
||||
price *= 1.5;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user