From c73ff966904ffc0e56e756944f46835cc3c134a9 Mon Sep 17 00:00:00 2001 From: Sardelka Date: Sat, 2 Jul 2022 13:37:44 +0800 Subject: [PATCH] Add JB7002 weapon (not tested), closes #15 --- RageCoop.Client/Util/WeaponUtil.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RageCoop.Client/Util/WeaponUtil.cs b/RageCoop.Client/Util/WeaponUtil.cs index 9c2afb8..cd65045 100644 --- a/RageCoop.Client/Util/WeaponUtil.cs +++ b/RageCoop.Client/Util/WeaponUtil.cs @@ -66,6 +66,11 @@ namespace RageCoop.Client int i; switch (v.Model.Hash) { + // JB7002 + case 394110044: + i=BulletsShot%2==0 ? 54 : 53; + return new MuzzleInfo(v.Bones[i].Position, v.Bones[i].ForwardVector); + // DOMINATOR5 case -1375060657: i=BulletsShot%2==0 ? 35 : 36;