v0.6.1: bugfixes to dew vial and keys
This commit is contained in:
parent
6162aadf42
commit
fcef3e6382
|
@ -95,9 +95,9 @@ public class Belongings implements Iterable<Item> {
|
|||
for (int i = 0; i < specialKeys.length; i++){
|
||||
if (specialKeys[i] > 0){
|
||||
if (i % 5 == 0){
|
||||
Notes.add((Key) new GoldenKey(i).quantity(specialKeys[i]));
|
||||
} else {
|
||||
Notes.add((Key) new SkeletonKey(i).quantity(specialKeys[i]));
|
||||
} else {
|
||||
Notes.add((Key) new GoldenKey(i).quantity(specialKeys[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -773,7 +773,7 @@ public class Hero extends Char {
|
|||
hasKey = true;
|
||||
|
||||
} else if (door == Terrain.LOCKED_EXIT
|
||||
&& Notes.keyCount(new GoldenKey(Dungeon.depth)) > 0) {
|
||||
&& Notes.keyCount(new SkeletonKey(Dungeon.depth)) > 0) {
|
||||
|
||||
hasKey = true;
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ public class DewVial extends Item {
|
|||
unique = true;
|
||||
}
|
||||
|
||||
private int volume = 20;
|
||||
private int volume = 0;
|
||||
|
||||
private static final String VOLUME = "volume";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user