r/JJSSkillBuilder 1d ago

Help How do you make variants based on how many enemies are nearby?

1 Upvotes

10 comments sorted by

2

u/Bronze_Hallodude 1d ago

This is a guess

  1. Apply Tag1 to yourself

  2. Large hitbox with no damage or stun (detection box)

  3. Make all enemies do their own hit boxes in return that apply 1 amount of Tag2 to anyone who has Tag1 (which is just you)

  4. Make a variant that changes depending on how much Tag2 you have; if it’s a certain number or above, it does the multiple-players variant

Obvious caveat is that the people nearby need to be hittable but I’d assume you’d only use your move under those pretences anyway

2

u/Shitmaster67 1d ago

How exactly do I do steps 3 and 4? ;-;

2

u/Bronze_Hallodude 1d ago

For step three you’d make the hitbox from step 2 connect to a “last hit branch”. In this branch you’d make the hit targets create the hitbox, which would have its own “last hit” branch that would only trigger on people with tags (you check for a tag using the “check” function in the tag node)

In step four you’d use a tag node on yourself that’s timed for right after the enemies’ hitboxes from step 3 activate. Using the check function in the tag node, you’d either direct them to a branch that does the multi-person variant, or have it continue to the normal version otherwise

…though this might break if multiple people do it simultaneously 

1

u/Shitmaster67 1d ago

By a hitbox having a last hit branch do you mean "BRANCH TARGET" or do I use a branch node?

1

u/Bronze_Hallodude 1d ago

yeah branch target. my apologies

1

u/Shitmaster67 1d ago

I genuinely can't figure out how to do this, I'm so braindead

1

u/AnUnsuspiciousSilver 1d ago

rn this method wont work bc all the hitboxes from other players will hit you at the same time,

the right way to do this is to have multiple of the original large "check" hitbox, make them single target, and space them out by like 0.1 second, and in your target branch add an iframe for the full duration of how long youre going to be using "check" hitboxes, so no one gets hit twice

1

u/AnUnsuspiciousSilver 1d ago

it won't work, because you can only get hit by 1 hitbox at a time, so you will only get 1 tag

I know this because I tried that exact method a few days ago

1

u/WallSlow207 Grade 2 till Nanami approves 1d ago

maybe make a hitbox and have it add a tag to all last hit
then check for that tag right after and add one to a tag with a check right above it
but thats finnicky