Skip to content

Commit

Permalink
fix(Scripts/Hyjal) First wave should not grant reputation (azerothcor…
Browse files Browse the repository at this point in the history
  • Loading branch information
Exitare authored Dec 23, 2024
1 parent 3dff276 commit 9c01bbb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ class instance_hyjal : public InstanceMapScript

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
}
Expand Down

0 comments on commit 9c01bbb

Please sign in to comment.