diff --git a/src/Attriboost.cpp b/src/Attriboost.cpp index c52a041..2c18d34 100644 --- a/src/Attriboost.cpp +++ b/src/Attriboost.cpp @@ -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); @@ -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; }