From 13df6a61f0486710ea5a1bef97450f31dad09815 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 18 Apr 2016 23:51:08 -0400 Subject: [PATCH] v0.3.5: fixed a couple artifact bugs --- src/com/shatteredpixel/shatteredpixeldungeon/Bones.java | 2 +- .../items/artifacts/TalismanOfForesight.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/Bones.java b/src/com/shatteredpixel/shatteredpixeldungeon/Bones.java index 8d30d10f4..9bfe2c32b 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/Bones.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/Bones.java @@ -168,7 +168,7 @@ public class Bones { } } - if (item.isUpgradable()) { + if (item.isUpgradable() || item instanceof Artifact) { item.cursed = true; item.cursedKnown = true; if (item.isUpgradable()) { diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TalismanOfForesight.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TalismanOfForesight.java index ee8e9cd25..fd4e1b5fb 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TalismanOfForesight.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TalismanOfForesight.java @@ -89,6 +89,8 @@ public class TalismanOfForesight extends Artifact { GLog.p( Messages.get(this, "scry") ); + updateQuickslot(); + Buff.affect(hero, Awareness.class, Awareness.DURATION); Dungeon.observe(); }