diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Chilling.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Chilling.java index 53b5f2147..c4d9b755f 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Chilling.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Chilling.java @@ -23,6 +23,7 @@ package com.shatteredpixel.shatteredpixeldungeon.items.weapon.enchantments; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Chill; +import com.shatteredpixel.shatteredpixeldungeon.effects.Splash; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite.Glowing; @@ -41,8 +42,8 @@ public class Chilling extends Weapon.Enchantment { if (Random.Int( level + 5 ) >= 4) { - Buff.prolong( defender, Chill.class, - Random.Float( 2f, 3f ) ); + Buff.prolong( defender, Chill.class, Random.Float( 2f, 3f ) ); + Splash.at( defender.sprite.center(), 0xFFB2D6FF, 5); } diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Venomous.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Venomous.java index aba45c0ac..7f7848b36 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Venomous.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Venomous.java @@ -23,6 +23,8 @@ package com.shatteredpixel.shatteredpixeldungeon.items.weapon.enchantments; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Poison; +import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter; +import com.shatteredpixel.shatteredpixeldungeon.effects.particles.PoisonParticle; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite.Glowing; @@ -42,6 +44,7 @@ public class Venomous extends Weapon.Enchantment { if (Random.Int( level + 3 ) >= 2) { Buff.affect( defender, Poison.class ).extend( Poison.durationFactor( defender ) * ((level/2) + 1) ); + CellEmitter.center(defender.pos).burst( PoisonParticle.SPLASH, 5 ); } diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Vorpal.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Vorpal.java index 953589eaa..2677fb315 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Vorpal.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Vorpal.java @@ -23,8 +23,10 @@ package com.shatteredpixel.shatteredpixeldungeon.items.weapon.enchantments; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Bleeding; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; +import com.shatteredpixel.shatteredpixeldungeon.effects.Splash; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite; +import com.watabou.utils.PointF; import com.watabou.utils.Random; public class Vorpal extends Weapon.Enchantment { @@ -41,6 +43,8 @@ public class Vorpal extends Weapon.Enchantment { if (Random.Int( level + 3 ) >= 2) { Buff.affect(defender, Bleeding.class).set(damage/4); + Splash.at( defender.sprite.center(), -PointF.PI / 2, PointF.PI / 6, + defender.sprite.blood(), 10 ); }