feat(Core/SAI): implement SMART_ACTION_DISABLE_REWARD (#21105)
This commit is contained in:
parent
47c5ff904f
commit
17412174be
9 changed files with 35 additions and 9 deletions
|
|
@ -191,7 +191,7 @@ public:
|
|||
if (creature->IsSummon() && _bossWave != TO_BE_DECIDED)
|
||||
{
|
||||
if (_currentWave == 0)
|
||||
creature->SetDisableReputationGain(true);
|
||||
creature->SetReputationRewardDisabled(true);
|
||||
DoUpdateWorldState(WORLD_STATE_ENEMYCOUNT, ++trash); // Update the instance wave count on new trash spawn
|
||||
_encounterNPCs.insert(creature->GetGUID()); // Used for despawning on wipe
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue