mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
init dagger for assasination rogue
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user