diff --git a/gradle.properties b/gradle.properties index 08530cf..edbd712 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ majorVersion=5 -minorVersion=7 +minorVersion=8 maintenanceVersion=0 diff --git a/reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc b/reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc index 4069feb..3e47fd5 100644 --- a/reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc +++ b/reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc @@ -5334,6 +5334,14 @@ enum CFamas_Members * Set params: set_member(index, member, value); */ m_Famas_iShellOn, + + /* + * Description: Basic damage that famas deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in burst mode + * Member type: float + * Get params: get_member(index, member); + * Set params: set_member(index, member, value); + */ + m_Famas_flBaseDamageBurst, }; /** @@ -5356,6 +5364,14 @@ enum CUSP_Members * Set params: set_member(index, member, value); */ m_USP_usFire, + + /* + * Description: Basic damage that usp deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in silence mdoe + * Member type: float + * Get params: get_member(index, member); + * Set params: set_member(index, member, value); + */ + m_USP_flBaseDamageSil, }; /** @@ -5514,6 +5530,14 @@ enum CM4A1_Members * Set params: set_member(index, member, value); */ m_M4A1_usFire, + + /* + * Description: Basic damage that m4a1 deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in silence mdoe + * Member type: float + * Get params: get_member(index, member); + * Set params: set_member(index, member, value); + */ + m_M4A1_flBaseDamageSil, }; /** diff --git a/reapi/include/cssdk/dlls/weapons.h b/reapi/include/cssdk/dlls/weapons.h index a1862cc..9d28033 100644 --- a/reapi/include/cssdk/dlls/weapons.h +++ b/reapi/include/cssdk/dlls/weapons.h @@ -349,6 +349,7 @@ public: public: int m_iShell; unsigned short m_usFire; + float m_flBaseDamageSil; }; class CMP5N: public CBasePlayerWeapon { @@ -634,6 +635,7 @@ public: int m_iShell; int m_iShellOn; unsigned short m_usFire; + float m_flBaseDamageSil; }; class CMAC10: public CBasePlayerWeapon { @@ -873,4 +875,5 @@ public: public: int m_iShell; int m_iShellOn; + float m_flBaseDamageBurst; }; diff --git a/reapi/src/member_list.cpp b/reapi/src/member_list.cpp index deeb163..bc4f732 100644 --- a/reapi/src/member_list.cpp +++ b/reapi/src/member_list.cpp @@ -890,11 +890,13 @@ member_t memberlist_galil[] = { member_t memberlist_famas[] = { FAMAS_MEMBERS(iShell), FAMAS_MEMBERS(iShellOn), + FAMAS_MEMBERS(flBaseDamageBurst), }; member_t memberlist_usp[] = { USP_MEMBERS(iShell), USP_MEMBERS(usFire), + USP_MEMBERS(flBaseDamageSil), }; member_t memberlist_glock18[] = { @@ -929,6 +931,7 @@ member_t memberlist_m4a1[] = { M4A1_MEMBERS(iShell), M4A1_MEMBERS(iShellOn), M4A1_MEMBERS(usFire), + M4A1_MEMBERS(flBaseDamageSil), }; member_t memberlist_tmp[] = { diff --git a/reapi/src/member_list.h b/reapi/src/member_list.h index 2f25507..58cb279 100644 --- a/reapi/src/member_list.h +++ b/reapi/src/member_list.h @@ -917,12 +917,14 @@ enum CFamas_Members { m_Famas_iShell = BEGIN_MEMBER_REGION(famas), m_Famas_iShellOn, + m_Famas_flBaseDamageBurst, }; enum CUSP_Members { m_USP_iShell = BEGIN_MEMBER_REGION(usp), m_USP_usFire, + m_USP_flBaseDamageSil, }; enum CGLOCK18_Members @@ -963,6 +965,7 @@ enum CM4A1_Members m_M4A1_iShell = BEGIN_MEMBER_REGION(m4a1), m_M4A1_iShellOn, m_M4A1_usFire, + m_M4A1_flBaseDamageSil, }; enum CTMP_Members