v3.0.0: fixed radiance stacking light buff duration
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ public class Radiance extends ClericSpell {
|
|||||||
Sample.INSTANCE.play(Assets.Sounds.BLAST);
|
Sample.INSTANCE.play(Assets.Sounds.BLAST);
|
||||||
|
|
||||||
if (Dungeon.level.viewDistance < 6 ){
|
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] )) {
|
for (Mob mob : Dungeon.level.mobs.toArray( new Mob[0] )) {
|
||||||
|
|||||||
Reference in New Issue
Block a user