v0.3.1d: completing the sad ghost quest now beckons the ghost to the player
This commit is contained in:
parent
4c3b91366f
commit
0364319154
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user