From 7532d4ed0229a31039f2d28772d7164542b078ae Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 30 Mar 2018 17:48:16 -0400 Subject: [PATCH] v0.6.4: into darkness challenge no longer reduces torch duration --- .../shatteredpixeldungeon/items/Torch.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Torch.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Torch.java index 5c9ae78bd..4d3bba03c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Torch.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Torch.java @@ -21,8 +21,6 @@ package com.shatteredpixel.shatteredpixeldungeon.items; -import com.shatteredpixel.shatteredpixeldungeon.Challenges; -import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Light; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; @@ -66,12 +64,8 @@ public class Torch extends Item { hero.sprite.operate( hero.pos ); detach( hero.belongings.backpack ); - - if (Dungeon.isChallenged(Challenges.DARKNESS)){ - Buff.affect(hero, Light.class, 2*Light.DURATION/3f); - } else { - Buff.affect(hero, Light.class, Light.DURATION); - } + + Buff.affect(hero, Light.class, Light.DURATION); Emitter emitter = hero.sprite.centerEmitter(); emitter.start( FlameParticle.FACTORY, 0.2f, 3 );