Guardians mod/Ice Fish

Ice Fish is an early hardmode boss who is summoned in the snow biome with frozen fish food. The Ice Fish has a rage mechanic that gets increased upon being hit by any projectile and upon reaching the maximum it will move and shoot much more rapidly and turn a fiery orange colour.

Ice Fish has 3 distinct phases:


 * Phase 1 Fly and spin:
 * Flies from one side of the player to the other. Upon reaching that side the ice fish begins to swim in circles firing icicles /(MM) ice balls at the player. During the spinning phase the ice fish shoots every one third of a turn and completes 1 / 2 / 3 full rotations before moving on. After repeating twice a large icicle falls from the sky above the player and the moves on to phase 2.
 * Phase 2 Raised Dash and spin:
 * Ice Fish now moves faster but aims for 100 units above the player while raining down icicles / (MM)ice balls while moving. Upon reaching the end the ice fish then spins for 2 / 3 / 4 full rotations.this is repeated twice and then moves on to phases 2.
 * Phase 3 Icicle Drop:
 * Ice Fish then moves to 1000 units above the player and drops a large icicle from out of the sky that freezes for 2 / 4 / 6 seconds and splits into icicles / (MM) ice balls. The ice fish then moves down towards the player while dropping icicles and then resets back to phase 1.
 * Rage mechanic:
 * Maximum rage is 100 / 75 / 40. Upon being hit by a projectile rage is increased by 0.3 however if the ice fish has already taken damage in the last 0.3 seconds this is increased to 1.5. After not taking damage for 1 second rage decreases at a rate of 0.5 per tick (30 per second). After each phase rage increases by 5 and after a complete cycle rage increases by 20.

Aftermath:
spawns in in the cavern and underground layers. s can now spawn in the snow biome.