From 0364319154690c5c0853001102cb527c88da5fe3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 10 Sep 2015 16:43:59 -0400 Subject: [PATCH] v0.3.1d: completing the sad ghost quest now beckons the ghost to the player --- .../shatteredpixeldungeon/actors/mobs/npcs/Ghost.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Ghost.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Ghost.java index 3aef15070..28b3f7db9 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Ghost.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Ghost.java @@ -355,6 +355,10 @@ public class Ghost extends NPC { public static void process() { if (spawned && given && !processed && (depth == Dungeon.depth)) { GLog.n("sad ghost: Thank you... come find me..."); + for (Mob m : Dungeon.level.mobs){ + if (m instanceof Ghost) + m.beckon(Dungeon.hero.pos); + } Sample.INSTANCE.play( Assets.SND_GHOST ); processed = true; Generator.Category.ARTIFACT.probs[10] = 1; //flags the dried rose as spawnable.