Skip to content

Commit

Permalink
Midsummer: Add message to the Ahune summoner (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah authored Jun 25, 2023
1 parent 0771d99 commit 5c5048e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Bracket_1_19/scripts/events/midsummer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class go_ahune_ice_stone_1_19 : public GameObjectScript
// Only allow summoning him in heroic
if (!go->GetMap()->IsHeroic())
{
player->SendSystemMessage("Ahune may only be summoned in Heroic difficulty.");
return true;
}

Expand All @@ -85,6 +86,12 @@ class go_ahune_ice_stone_1_19 : public GameObjectScript
return true;
}

// Only allow summoning him in heroic
if (!go->GetMap()->IsHeroic())
{
return true;
}

if (go->FindNearestCreature(NPC_AHUNE, 200.0f, true))
return true;

Expand Down

0 comments on commit 5c5048e

Please sign in to comment.