v0.9.4: fixed scrolls of divination not always triggering scroll logic
This commit is contained in:
parent
cdba58524f
commit
8be67e9e20
|
@ -62,11 +62,6 @@ public class ScrollOfDivination extends ExoticScroll {
|
||||||
|
|
||||||
int total = potions.size() + scrolls.size() + rings.size();
|
int total = potions.size() + scrolls.size() + rings.size();
|
||||||
|
|
||||||
if (total == 0){
|
|
||||||
GLog.n( Messages.get(this, "nothing_left") );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ArrayList<Item> IDed = new ArrayList<>();
|
ArrayList<Item> IDed = new ArrayList<>();
|
||||||
int left = 4;
|
int left = 4;
|
||||||
|
|
||||||
|
@ -116,7 +111,11 @@ public class ScrollOfDivination extends ExoticScroll {
|
||||||
total --;
|
total --;
|
||||||
}
|
}
|
||||||
|
|
||||||
GameScene.show(new WndDivination( IDed ));
|
if (total == 0){
|
||||||
|
GLog.n( Messages.get(this, "nothing_left") );
|
||||||
|
} else {
|
||||||
|
GameScene.show(new WndDivination(IDed));
|
||||||
|
}
|
||||||
|
|
||||||
readAnimation();
|
readAnimation();
|
||||||
identify();
|
identify();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user