Merge branch 'dev' of github.com:edgegamers/Jailbreak into dev

This commit is contained in:
MSWS
2025-08-04 15:39:13 -07:00
2 changed files with 6 additions and 3 deletions

View File

@@ -59,12 +59,12 @@ public class RocketJumpDay(BasePlugin plugin, IServiceProvider provider)
+ "True allows for easier rocket jumps at the cost of 'funky' shot paths when trying to shoot a player");
public static readonly FakeConVar<float> CV_PROJ_DAMAGE = new(
"css_jb_rj_proj_damage", "The damage caused by projectile explosion", 34f,
"css_jb_rj_proj_damage", "The damage caused by projectile explosion", 80f,
ConVarFlags.FCVAR_NONE, new RangeValidator<float>(1f, 200f));
public static readonly FakeConVar<float> CV_PROJ_DAMAGE_RADIUS = new(
"css_jb_rj_proj_damage_radius",
"The radius of the explosion caused by projectile", 150f,
"The radius of the explosion caused by projectile", 250f,
ConVarFlags.FCVAR_NONE, new RangeValidator<float>(1f, 1000f));
public static readonly FakeConVar<float> CV_PROJ_GRAVITY = new(

View File

@@ -186,8 +186,11 @@ public static class PlayerExtensions {
var origin = pawn.AbsOrigin;
if (origin == null) return Vector3.Zero;
//return new Vector3(origin.X, origin.Y,
//origin.Z + pawn.CameraServices?.OldPlayerViewOffsetZ ?? 0.0f);
return new Vector3(origin.X, origin.Y,
origin.Z + pawn.CameraServices?.OldPlayerViewOffsetZ ?? 0.0f);
origin.Z + 64.09f);
}
public static void GetEyeForward(this CCSPlayerPawn pawn, float distance,