From 1e3bc31c6b10cdee16b1fa119f870c566f189465 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 14 Dec 2014 14:17:56 -0500 Subject: [PATCH] v0.2.3: bugfixes --- .../shatteredpixeldungeon/actors/mobs/Swarm.java | 2 +- .../items/artifacts/UnstableSpellbook.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java index e541aad19..f5047d4f8 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java @@ -136,7 +136,7 @@ public class Swarm extends Mob { @Override public void die( Object cause ){ //sets drop chance - lootChance = 1f/((5 + Dungeon.limitedDrops.swarmHP.count ) * generation ); + lootChance = 1f/((5 + Dungeon.limitedDrops.swarmHP.count ) * generation+1 ); super.die( cause ); } diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java index fdda37d4a..41bb314ca 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java @@ -227,7 +227,8 @@ public class UnstableSpellbook extends Artifact { } if (item != null) GLog.w("You are unable to add this scroll to the book."); - } + } else if (item instanceof Scroll && !item.isIdentified()) + GLog.w("You're not sure what type of scroll this is yet."); } }; }