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