Boomerang Nerf
Overview
Creator:
Jamian
Added: 12 May 2024
Tags:
Global,
NPC
|
View Script |
Information
The boomerang is an awesome weapon, when the enemies are vulnerable to it. Maybe too awesome, since it turns stunnable enemies into pushovers. Did you ever wish there was a middle ground for the boomerang between "overpowered" and "*ting*, not working"?
This simple script lets you shorten the stun duration after an enemy was hit by a stunning weapon (any stunning weapon; if you have others, they will be affected too).
This simple script lets you shorten the stun duration after an enemy was hit by a stunning weapon (any stunning weapon; if you have others, they will be affected too).
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:
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();
}
}
}


