static void Prefix(ActorMotor __instance, ref ActorMotor.JumpActionParamer ___jumpParamer) { if (!enabled) { return; } ___jumpParamer.JumpInitSpeed = 27f * (float)Math.Sqrt(settings.JumpHeight); }
static void Prefix(ref ActorMotor.JumpActionParamer ___jumpParamer) { if (!enabled) { return; } if (___jumpParamer != null) { ___jumpParamer.Gravity = 80f / settings.JumpHeight; } }