correct titan's grip spellId

This commit is contained in:
Yunfan Li
2023-07-24 23:19:23 +08:00
parent 2561e388a9
commit 38f385dae8

View File

@@ -3015,14 +3015,14 @@ float PlayerbotFactory::CalculateItemScore(uint32 item_id, Player* bot)
((cls == CLASS_SHAMAN && tab == 1 && bot->HasSpell(674)) ||
(cls == CLASS_ROGUE) ||
(cls == CLASS_DEATH_KNIGHT && tab == 1) ||
(cls == CLASS_WARRIOR && tab == 1 && !bot->HasSpell(46917)) ||
(cls == CLASS_WARRIOR && tab == 1 && !bot->HasSpell(49152)) ||
IsShieldTank(bot))) {
score *= 0.1;
}
// spec with double hand
// fury with titan's grip, bear, retribution, blood dk
if (isDoubleHand &&
((cls == CLASS_WARRIOR && tab == 1 && bot->HasSpell(46917)) ||
((cls == CLASS_WARRIOR && tab == 1 && bot->HasSpell(49152)) ||
(cls == CLASS_DRUID && tab == 1) ||
(cls == CLASS_PALADIN && tab == 2) ||
(cls == CLASS_DEATH_KNIGHT && tab == 0) ||