From ac2677203cfc9f265fdf7d9409ee35036d3703ec Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 6 Jun 2015 17:54:57 -0400 Subject: [PATCH] v0.3.0c: corruption behaviour on fly swarms --- .../shatteredpixeldungeon/actors/mobs/Swarm.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java index 6b7d38924..0d410cad1 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java @@ -24,6 +24,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Actor; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Burning; +import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Corruption; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Poison; import com.shatteredpixel.shatteredpixeldungeon.effects.Pushing; import com.shatteredpixel.shatteredpixeldungeon.items.Item; @@ -128,7 +129,10 @@ public class Swarm extends Mob { Buff.affect( clone, Burning.class ).reignite( clone ); } if (buff( Poison.class ) != null) { - Buff.affect( clone, Poison.class ).set( 2 ); + Buff.affect( clone, Poison.class ).set(2); + } + if (buff(Corruption.class ) != null) { + Buff.affect( clone, Corruption.class); } return clone; }