diff --git a/src/Attriboost.cpp b/src/Attriboost.cpp index 5258878..e5cb3ca 100644 --- a/src/Attriboost.cpp +++ b/src/Attriboost.cpp @@ -882,7 +882,15 @@ void SendAllocateMenu(Player* player, Creature* creature) AddGossipItemFor(player, GOSSIP_ICON_DOT, "|TInterface\\MONEYFRAME\\Arrow-Left-Down:16|t Back", GOSSIP_SENDER_MAIN, ATTR_GOSSIP_ALLOCATE_RETURN); - SendGossipMenuFor(player, ATTR_NPC_TEXT_HAS_ATTRIBUTES, creature); + + if (HasAttributesToSpend(player)) + { + SendGossipMenuFor(player, ATTR_NPC_TEXT_HAS_ATTRIBUTES, creature); + } + else + { + SendGossipMenuFor(player, ATTR_NPC_TEXT_GENERIC, creature); + } } void SendSettingsMenu(Player* player, Creature* creature)