From dfc9cd7b9096eef5ceaa65078fd4be5ba0234d34 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 10 Nov 2023 12:41:46 -0500 Subject: [PATCH] v2.3.0: DM-300 now uses target cell indicators with his rockfall attack --- .../shatteredpixeldungeon/actors/mobs/DM300.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java index 624ab994b..96a9fb8e4 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java @@ -46,6 +46,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Terror; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Vertigo; import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter; import com.shatteredpixel.shatteredpixeldungeon.effects.Speck; +import com.shatteredpixel.shatteredpixeldungeon.effects.TargetedCell; import com.shatteredpixel.shatteredpixeldungeon.effects.particles.EarthParticle; import com.shatteredpixel.shatteredpixeldungeon.effects.particles.SparkParticle; import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.DriedRose; @@ -460,6 +461,9 @@ public class DM300 extends Mob { pos++; } } + for (int i : rockCells){ + sprite.parent.add(new TargetedCell(i, 0xFF0000)); + } Buff.append(this, FallingRockBuff.class, GameMath.gate(TICK, (int)Math.ceil(target.cooldown()), 3*TICK)).setRockPositions(rockCells); }