mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
correct titan's grip spellId
This commit is contained in:
parent
2561e388a9
commit
38f385dae8
@ -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) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user