From 64b0f46a06c2dfbcdb98f84e7e998def33f4de22 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 10 Jul 2016 18:12:51 -0400 Subject: [PATCH] v0.4.1: buffed the dazzling enchant --- .../items/weapon/enchantments/Dazzling.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Dazzling.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Dazzling.java index 0b0664bb5..6ed830f2c 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Dazzling.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Dazzling.java @@ -23,6 +23,7 @@ package com.shatteredpixel.shatteredpixeldungeon.items.weapon.enchantments; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Blindness; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; +import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Cripple; import com.shatteredpixel.shatteredpixeldungeon.effects.Speck; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite; @@ -41,7 +42,8 @@ public class Dazzling extends Weapon.Enchantment { if (Random.Int( level + 5 ) >= 4) { - Buff.prolong( defender, Blindness.class, Random.Float( 1, 1.5f + level ) ); + Buff.prolong( defender, Blindness.class, Random.Float( 1f, 1f + level ) ); + Buff.prolong( defender, Cripple.class, Random.Float( 1f, 1f + level/2f ) ); defender.sprite.emitter().burst(Speck.factory(Speck.LIGHT), 6 ); }