Magnetism



Magnetism is the twelfth powerup in Fortress Blast. It was added to Fortress Blast in version 3.0 and is an original powerup that uses an unrelated sound effect from.

Magnetism lasts for 5 seconds, during which it has two different functions: Attract and Repel. Attract is active while any melee weapon is deployed, and Repel is activated with any other weapon. Attract draws all enemies closer to the user at an exponential rate, being barely noticeable from far away but incredibly powerful at close range. Repel does the opposite, pushing enemies away from the player, making attacks from flamethrowers and other short-range weapons difficult. Repel is 25% stronger than Attract. While Magnetism is active, a trail of green circles appears underneath the player. During April Fools, the circumstances in which Attract and Repel are enabled are swapped.

0xt1Ztj8eOY

Developer information
Magnetism's effective range is 1024 Hammer units. If an enemy is within this range, the pull force of Magnetism is equal to 1024 minus the enemy's distance away from the user, divided by 1024, multiplied by 4 and squared. It is further multiplied by -1.25 if Repel is active.