Skip to content

Commit

Permalink
Re-ordered OnGossipSelect options.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnchyDev committed Oct 7, 2023
1 parent 3d5ecef commit ee256d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Attriboost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -754,12 +754,6 @@ bool AttriboostCreatureScript::OnGossipSelect(Player* player, Creature* creature
OnGossipHello(player, creature);
}

if (action > 5000)
{
HandleAttributeAllocation(player, action, false);
OnGossipHello(player, creature);
}

if (action == 1000)
{
HandleAttributeAllocation(player, action, true);
Expand All @@ -771,6 +765,12 @@ bool AttriboostCreatureScript::OnGossipSelect(Player* player, Creature* creature
HandleSettings(player, creature, action);
}

if (action > 5000)
{
HandleAttributeAllocation(player, action, false);
OnGossipHello(player, creature);
}

return true;
}

Expand Down

0 comments on commit ee256d5

Please sign in to comment.