mirror of
https://github.com/edgegamers/Jailbreak.git
synced 2025-12-06 04:42:57 -08:00
Merge branch 'dev' of github.com:edgegamers/Jailbreak into dev
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user