From cb381c1cbbf14b8af9bae5130896f0be5fd523fd Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 9 Oct 2014 01:53:08 -0400 Subject: [PATCH] V0.2.1 : power reduction to the Gnoll Trickster --- .../shatteredpixeldungeon/actors/mobs/npcs/Ghost.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Ghost.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Ghost.java index 8e05160c8..e00f023f5 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Ghost.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Ghost.java @@ -289,7 +289,9 @@ public class Ghost extends Mob.NPC { public static void restoreFromBundle( Bundle bundle ) { Bundle node = bundle.getBundle( NODE ); - + + //TODO: may be some issues with an old quest in progress that already spawned a fetid rat + if (!node.isNull() && !node.contains( ALTERNATIVE ) && (spawned = node.getBoolean( SPAWNED ))) { type = node.getInt( TYPE ); @@ -474,9 +476,6 @@ public class Ghost extends Mob.NPC { } else { - if (effect >=6) - Buff.prolong( enemy, Paralysis.class, 3f ); - if (effect >=4 && aflame == null){ if (Level.flamable[enemy.pos])