fix(Scripts/Hyjal) First wave should not grant reputation (#21004)
This commit is contained in:
parent
3dff276136
commit
9c01bbbd6e
1 changed files with 2 additions and 0 deletions
|
|
@ -190,6 +190,8 @@ public:
|
|||
|
||||
if (creature->IsSummon() && _bossWave != TO_BE_DECIDED)
|
||||
{
|
||||
if (_currentWave == 0)
|
||||
creature->SetDisableReputationGain(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