feat(Core/SAI): implement SMART_ACTION_DISABLE_REWARD (#21105)

This commit is contained in:
Kitzunu
2025-02-01 22:49:41 +01:00
committed by GitHub
parent 47c5ff904f
commit 17412174be
9 changed files with 35 additions and 9 deletions

View File

@@ -5982,7 +5982,7 @@ void Player::RewardReputation(Unit* victim)
if (!victim || victim->IsPlayer())
return;
if (victim->ToCreature()->IsReputationGainDisabled())
if (victim->ToCreature()->IsReputationRewardDisabled())
return;
ReputationOnKillEntry const* Rep = sObjectMgr->GetReputationOnKilEntry(victim->ToCreature()->GetCreatureTemplate()->Entry);