From ee256d5bb9fe54ddc5e5b7488ff87e0570c47033 Mon Sep 17 00:00:00 2001 From: AnchyDev Date: Sun, 8 Oct 2023 09:49:58 +1100 Subject: [PATCH] Re-ordered OnGossipSelect options. --- src/Attriboost.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; }