v3.0.0: fixed radiance stacking light buff duration

This commit is contained in:
Evan Debenham
2024-12-04 13:42:00 -05:00
parent 87e034b394
commit 555b39147f

View File

@@ -56,7 +56,7 @@ public class Radiance extends ClericSpell {
Sample.INSTANCE.play(Assets.Sounds.BLAST);
if (Dungeon.level.viewDistance < 6 ){
Buff.affect(hero, Light.class, Dungeon.isChallenged(Challenges.DARKNESS) ? 20 : 100);
Buff.prolong(hero, Light.class, Dungeon.isChallenged(Challenges.DARKNESS) ? 20 : 100);
}
for (Mob mob : Dungeon.level.mobs.toArray( new Mob[0] )) {