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