From 27a6677b9ff65904445312717cba5fc72700fb3d Mon Sep 17 00:00:00 2001 From: Evan Debenham <Evan.SHPX@gmail.com> Date: Thu, 11 Oct 2018 20:07:23 -0400 Subject: [PATCH] v0.7.0: added text to scroll of enchantment --- .../items/scrolls/exotic/ScrollOfEnchantment.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfEnchantment.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfEnchantment.java index 93650273b..9473fcd4b 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfEnchantment.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfEnchantment.java @@ -26,9 +26,11 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Invisibility; import com.shatteredpixel.shatteredpixeldungeon.effects.Enchanting; import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor; +import com.shatteredpixel.shatteredpixeldungeon.items.stones.StoneOfEnchantment; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene; +import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.shatteredpixel.shatteredpixeldungeon.windows.WndBag; import com.shatteredpixel.shatteredpixeldungeon.windows.WndOptions; import com.watabou.noosa.audio.Sample; @@ -72,7 +74,7 @@ public class ScrollOfEnchantment extends ExoticScroll { protected void onSelect(int index) { if (index < 3) { ((Weapon) item).enchant(enchants[index]); - //TODO text + GLog.p(Messages.get(StoneOfEnchantment.class, "weapon")); ((ScrollOfEnchantment)curItem).readAnimation(); Sample.INSTANCE.play( Assets.SND_READ ); @@ -109,7 +111,7 @@ public class ScrollOfEnchantment extends ExoticScroll { protected void onSelect(int index) { if (index < 3) { ((Armor) item).inscribe(glyphs[index]); - //TODO text + GLog.p(Messages.get(StoneOfEnchantment.class, "armor")); ((ScrollOfEnchantment)curItem).readAnimation(); Sample.INSTANCE.play( Assets.SND_READ );