-
Notifications
You must be signed in to change notification settings - Fork 0
How to modify character attributes
Repeat edited this page Jan 9, 2023
·
3 revisions
Self-explanatory.
As of writing this, it's in the first 100 lines of script.js, but it could change, who knows. Regardless, this is where certain attributes of characters are, and there's some fun ones to play around with in there. (Also, each {} corresponds to each character. Don't worry, unless I'm an idiot, if you add a new character (which isn't in the wiki yet) and you forgot to add to characterData to accommodate for it, the character won't crash the game, but instead will just take on Stickman's attributes.
So, I'll give an explanation of what each attribute does.
- jumpheight: The initial velocity that a character will jump with.
- upspecialheight: The initial velocity that a character will take on when doing an unmodified up special.
- downslide: How fast a character will slow down when crouching. This one gets a little weird if you set it above around 1.20.
- knockbackplus: I'm not fully sure, but I'm pretty sure setting this above 0 will increase the knockback the character takes.
- downspecialmove: Setting this to true will make the character's down special move, like Fatal Book's down special.
- downspecialmaxdmg: Each frame that a character collides while doing a down special, it deals a random number between 0.1 and this number. Might break if you put the number below 0.1 or a number that doesn't round to the nearest tenth.
- downspeciallaunch: This one determines how far up an down special sends the opponent. Lower is better, but below 0 does nearly nothing unless set to an extremely low number like -100.
- meleeFox: This feature re-enables the Melee Fox glitch, which I turned into a feature specifically for anyone modding the game.
- chargeAttackCheese: Pretty much, this makes it so that pressing the charge attack removes any horizontal knockback. Same as above, I left it in for y'all modders.
- pogo: When enabled for a character, it makes said character's aerial down special do a "pogo" like Fatal Book. Inspired by Hollow Knight.