From a0d2e3986a6c80c43cd82b1e8c4fee4e3e178d16 Mon Sep 17 00:00:00 2001 From: Evan Debenham <Evan@ShatteredPixel.com> Date: Mon, 17 Aug 2015 10:30:56 -0400 Subject: [PATCH] v0.3.1: added sound effects to Lloyd's beacon --- .../shatteredpixeldungeon/items/artifacts/LloydsBeacon.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/LloydsBeacon.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/LloydsBeacon.java index 8fead314e..477a37788 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/LloydsBeacon.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/LloydsBeacon.java @@ -204,6 +204,7 @@ public class LloydsBeacon extends Artifact { if (Actor.findChar(target) == curUser){ ScrollOfTeleportation.teleportHero(curUser); + Sample.INSTANCE.play(Assets.SND_TELEPORT); curUser.spendAndNext(1f); } else { final Ballistica bolt = new Ballistica( curUser.pos, target, Ballistica.MAGIC_BOLT ); @@ -211,8 +212,10 @@ public class LloydsBeacon extends Artifact { if (ch == curUser){ ScrollOfTeleportation.teleportHero(curUser); + Sample.INSTANCE.play(Assets.SND_TELEPORT); curUser.spendAndNext( 1f ); } else { + Sample.INSTANCE.play( Assets.SND_ZAP ); curUser.sprite.zap(bolt.collisionPos); curUser.busy();