Modding Compendium

== This page features a lot of different code examples (in the future) that show you how to do different things in the modding API. If you want to know how something works and it isn't on here, feel free to contact me in the #modding channel in the ADVR subreddit. ==

Scale the Sword in the players hand
For example:  would scale the sword uniformly to twice the size

Making the player move faster
"3.33 is the standard move speed"

Increasing the sword/knife damage
player.swordDamage = player.swordDamage + (any number) "to increase knife damage, just replace player.swordDamage with player.knifeDamage"

Increasing sword/knife critical chance
player.swordCritChance = player.swordCritChance + 0.05 "replace player.swordCritChance with player.knifeCritChance to increase critical chance for knife""0.05 will add 5% critical chance"

Increasing block chance
player.blockChance = player.blockChance + 0.05 "0.05 will add 5% block chance"

Increase knockback
player.knockBackStrength = player.knockBackStrength + (any number) "standard knockback strength is 1"