From 25e283b538201d053c6d2ca49f16734032d7df99 Mon Sep 17 00:00:00 2001 From: Till Schreiber Date: Thu, 14 Nov 2024 15:15:12 +0100 Subject: [PATCH] ALTV-502 - Add DamageType --- deps/cpp-sdk | 2 +- server/src/namespaces/WeaponModelInfoNamespace.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/cpp-sdk b/deps/cpp-sdk index b7825258f..e2966f42c 160000 --- a/deps/cpp-sdk +++ b/deps/cpp-sdk @@ -1 +1 @@ -Subproject commit b7825258fafcb6d9aa3906b41e27cfe2d8bf93af +Subproject commit e2966f42c4509f6a6836c18b9766c26ef23a87af diff --git a/server/src/namespaces/WeaponModelInfoNamespace.cpp b/server/src/namespaces/WeaponModelInfoNamespace.cpp index 240611e4f..ba1bff919 100644 --- a/server/src/namespaces/WeaponModelInfoNamespace.cpp +++ b/server/src/namespaces/WeaponModelInfoNamespace.cpp @@ -23,6 +23,7 @@ static void Get(js::FunctionContext& ctx) modelObj.Set("skillAbove50MaxAmmoMp", info.skillAbove50MaxAmmoMp); modelObj.Set("maxSkillMaxAmmoMp", info.maxSkillMaxAmmoMp); modelObj.Set("bonusMaxAmmoMp", info.bonusMaxAmmoMp); + modelObj.Set("damageType", info.damageType); ctx.Return(modelObj); }