v0.3.0c: corruption behaviour on fly swarms
This commit is contained in:
parent
b91d5d7185
commit
ac2677203c
|
@ -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;
|
||||
|
@ -130,6 +131,9 @@ public class Swarm extends Mob {
|
|||
if (buff( Poison.class ) != null) {
|
||||
Buff.affect( clone, Poison.class ).set(2);
|
||||
}
|
||||
if (buff(Corruption.class ) != null) {
|
||||
Buff.affect( clone, Corruption.class);
|
||||
}
|
||||
return clone;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user