if you want your boss to spawn entities while in game with cooldown, make a variable called tick (global map, number), then make a procedure with on entity tick update then just make tick go up by one so it replicates ticking, then on entity tick update (in your entity), if tick above or equals (your specified amount, every 20 is one second), set it to zero then summon the minions.
for projectiles, just use fireballs but for custom projectiles, make a projectile then modify it to be whatever you want, design it using blockbench or for 2d projectiles, piskel (what I use), just add shoot projectile in the on entity tick update (if you're summoning minions like I said in the last comment, or else just recreate what I said in the last comment), if you want to make the projectile have to gravity like fireballs, set no gravity for [IMMEDIATE SOURCE ENTITY].
what kind of ranged attacks and wdym by summon?
Summoning mobs or minions, like little minibosses that try to attack you before you can hit the real boss.
As for ranged attacks, I can think of projectiles like arrows or fireballs.
if you want your boss to spawn entities while in game with cooldown, make a variable called tick (global map, number), then make a procedure with on entity tick update then just make tick go up by one so it replicates ticking, then on entity tick update (in your entity), if tick above or equals (your specified amount, every 20 is one second), set it to zero then summon the minions.
for projectiles, just use fireballs but for custom projectiles, make a projectile then modify it to be whatever you want, design it using blockbench or for 2d projectiles, piskel (what I use), just add shoot projectile in the on entity tick update (if you're summoning minions like I said in the last comment, or else just recreate what I said in the last comment), if you want to make the projectile have to gravity like fireballs, set no gravity for [IMMEDIATE SOURCE ENTITY].
srry for replying late btw
somebody here likes to create strong mods, right? RIGHT?