From 494f4c7ef2bb3637e3a953e37951c27b318663c5 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 13 Jun 2022 11:48:46 -0400 Subject: [PATCH] v1.3.0: adjusted dazzling, now only full duration blinds attacker --- .../shatteredpixeldungeon/items/weapon/curses/Dazzling.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/curses/Dazzling.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/curses/Dazzling.java index 1e3e16283..b5eac9afc 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/curses/Dazzling.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/curses/Dazzling.java @@ -46,7 +46,7 @@ public class Dazzling extends Weapon.Enchantment { if (Random.Float() < procChance) { for (Char ch : Actor.chars()){ if (ch.fieldOfView != null && ch.fieldOfView[defender.pos]){ - Buff.prolong(ch, Blindness.class, Blindness.DURATION); + Buff.prolong(ch, Blindness.class, ch == attacker ? Blindness.DURATION : Blindness.DURATION/2f); if (ch == Dungeon.hero){ GameScene.flash(0x80FFFFFF); }