diff --git a/src/PlayerbotFactory.cpp b/src/PlayerbotFactory.cpp index 715389ba..0696ed87 100644 --- a/src/PlayerbotFactory.cpp +++ b/src/PlayerbotFactory.cpp @@ -9,6 +9,7 @@ #include "GuildMgr.h" #include "MapMgr.h" #include "PetDefines.h" +#include "PlayerbotAI.h" #include "PlayerbotAIConfig.h" #include "Playerbots.h" #include "PerformanceMonitor.h" @@ -2993,6 +2994,9 @@ float PlayerbotFactory::CalculateItemScore(uint32 item_id, Player* bot) if (cls == CLASS_HUNTER && proto->SubClass == ITEM_SUBCLASS_WEAPON_THROWN) { score *= 0.1; } + if (cls == CLASS_ROGUE && tab == ROGUE_TAB_ASSASSINATION && proto->SubClass != ITEM_SUBCLASS_WEAPON_DAGGER) { + score *= 0.1; + } } return (0.01 + score) * itemLevel * (quality + 1); // return score;