diff --git a/core/src/main/assets/messages/misc/misc.properties b/core/src/main/assets/messages/misc/misc.properties index 9d1ac317a..b577ba1a5 100644 --- a/core/src/main/assets/messages/misc/misc.properties +++ b/core/src/main/assets/messages/misc/misc.properties @@ -215,7 +215,7 @@ challenges.no_herbalism_desc=There seems to be no clean water left in this accur challenges.swarm_intelligence=Swarm intelligence challenges.swarm_intelligence_desc=Watch out, the dungeon monsters are getting smarter!\n\n- When an enemy notices you, nearby enemies are drawn to that location challenges.darkness=Into darkness -challenges.darkness_desc=It is a dungeon after all!\n\n- Regular visible distance dramatically reduced\n- A torch appears on each floor\n- Light buff lasts for less time +challenges.darkness_desc=It is a dungeon after all!\n\n- Regular visible distance dramatically reduced\n- A torch appears on each floor\n- Other light sources are 1/5 as effective challenges.no_scrolls=Forbidden runes challenges.no_scrolls_desc=A certain rune is harder to find. Unfortunately, it's always the most useful one.\n\n- Half of the dungeon's upgrade scrolls are removed challenges.champion_enemies=Hostile champions diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/ElementalBlast.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/ElementalBlast.java index 458096895..280ab5983 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/ElementalBlast.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/ElementalBlast.java @@ -22,6 +22,7 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.hero.abilities.mage; import com.shatteredpixel.shatteredpixeldungeon.Assets; +import com.shatteredpixel.shatteredpixeldungeon.Challenges; import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.actors.Actor; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; @@ -408,7 +409,11 @@ public class ElementalBlast extends ArmorAbility { //*** Wand of Prismatic Light *** } else if (finalWandCls == WandOfPrismaticLight.class){ - Buff.prolong( hero, Light.class, effectMulti*50f); + if (Dungeon.isChallenged(Challenges.DARKNESS)){ + Buff.prolong(hero, Light.class, effectMulti * 10f); + } else { + Buff.prolong(hero, Light.class, effectMulti * 50f); + } }