Jump to content

Boomerang Nerf

Overview
Creator: Jamian Added: 12 May 2024 Tags: Global, NPC
Rating[?]: Rating: 3.5/5 (1 rating)
View Script
Information

Description Setup Reviews Comments

Step 1: Edit the value of the STUN_DURATION constant at the top of the script according to your needs. The value is the amount of frames during which an enemy will be stunned. It must be between 1 and 159. The value I set up by default is 40. 160 is the normal stun value, so anything higher will be ignored. Extremely low values like 1 are permitted, but they are so low that they will likely make the stun unnoticeable. Experiment as needed.

Step 2: Paste the code in your script file.

Step 3: Add the line BoomerangNerf(); in the loop of your active global script.

If you don't have an active global script and don't know how to create one, here is a working example:
global script Active
{
    void run()
    {
		while (true)
		{	
			BoomerangNerf();
			Waitframe();
		}
    }
}