v0.9.1a: fixed unIDed/cursed hourglasses spawning sand
This commit is contained in:
+1
-1
@@ -228,7 +228,7 @@ public class ShopRoom extends SpecialRoom {
|
|||||||
itemsToSpawn.add( new StoneOfAugmentation() );
|
itemsToSpawn.add( new StoneOfAugmentation() );
|
||||||
|
|
||||||
TimekeepersHourglass hourglass = Dungeon.hero.belongings.getItem(TimekeepersHourglass.class);
|
TimekeepersHourglass hourglass = Dungeon.hero.belongings.getItem(TimekeepersHourglass.class);
|
||||||
if (hourglass != null){
|
if (hourglass != null && hourglass.isIdentified() && !hourglass.cursed){
|
||||||
int bags = 0;
|
int bags = 0;
|
||||||
//creates the given float percent of the remaining bags to be dropped.
|
//creates the given float percent of the remaining bags to be dropped.
|
||||||
//this way players who get the hourglass late can still max it, usually.
|
//this way players who get the hourglass late can still max it, usually.
|
||||||
|
|||||||
Reference in New Issue
Block a user