Skip to content

Commit

Permalink
ALTV-502 - Add DamageType
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Nov 14, 2024
1 parent a3ba89c commit 6492b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/src/bindings/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ static void GetWeaponModelByHash(const v8::FunctionCallbackInfo<v8::Value>& info
infoObj->Set(ctx, V8Helpers::JSValue("skillAbove50MaxAmmoMp"), V8Helpers::JSValue(modelInfo.skillAbove50MaxAmmoMp));
infoObj->Set(ctx, V8Helpers::JSValue("maxSkillMaxAmmoMp"), V8Helpers::JSValue(modelInfo.maxSkillMaxAmmoMp));
infoObj->Set(ctx, V8Helpers::JSValue("bonusMaxAmmoMp"), V8Helpers::JSValue(modelInfo.bonusMaxAmmoMp));
infoObj->Set(ctx, V8Helpers::JSValue("damageType"), V8Helpers::JSValue(modelInfo.damageType));

V8_RETURN(infoObj);
}
Expand Down
2 changes: 1 addition & 1 deletion shared/deps/cpp-sdk

0 comments on commit 6492b15

Please sign in to comment.