v2.3.0: DM-300 now uses target cell indicators with his rockfall attack
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user