feat(LuaEngine/PlayerMethods): BonusTalent methods (#235)

Co-authored-by: IntelligentQuantum <IntelligentQuantum@ProtonMail.Com>
This commit is contained in:
iThorgrim
2025-02-05 18:14:24 +01:00
committed by GitHub
parent b799efd331
commit d869057fe4
2 changed files with 54 additions and 0 deletions

View File

@@ -539,6 +539,7 @@ ElunaRegister<Player> PlayerMethods[] =
{ "GetShieldBlockValue", &LuaPlayer::GetShieldBlockValue },
{ "GetPlayerSettingValue", &LuaPlayer::GetPlayerSettingValue },
{ "GetTrader", &LuaPlayer::GetTrader },
{ "GetBonusTalentCount", &LuaPlayer::GetBonusTalentCount },
// Setters
{ "AdvanceSkillsToMax", &LuaPlayer::AdvanceSkillsToMax },
@@ -572,6 +573,9 @@ ElunaRegister<Player> PlayerMethods[] =
{ "SetPlayerLock", &LuaPlayer::SetPlayerLock },
{ "SetGender", &LuaPlayer::SetGender },
{ "SetSheath", &LuaPlayer::SetSheath },
{ "SetBonusTalentCount", &LuaPlayer::SetBonusTalentCount },
{ "AddBonusTalent", &LuaPlayer::AddBonusTalent },
{ "RemoveBonusTalent", &LuaPlayer::RemoveBonusTalent },
{ "GetHomebind", &LuaPlayer::GetHomebind },
{ "GetSpells", &LuaPlayer::GetSpells },