v0.2.3f: corrected issues with the dried rose

This commit is contained in:
Evan Debenham
2015-01-26 09:18:29 -05:00
parent 31bd42152e
commit 49bab26d7b
2 changed files with 16 additions and 7 deletions
@@ -223,7 +223,8 @@ public abstract class Level implements Bundlable {
int petalsNeeded = (int) Math.ceil((float)((Dungeon.depth / 2) - rose.droppedPetals) / 3);
for (int i=1; i <= petalsNeeded; i++) {
if (rose.droppedPetals < 10) {
//the player may miss a single petal and still max their rose.
if (rose.droppedPetals < 11) {
addItemToSpawn(new DriedRose.Petal());
rose.droppedPetals++;
}