celguar / mangosbot-bots

Bot AI Core from ike3 for cmangos/mangos classic/tbc/wotlk
https://github.com/cmangos/playerbots
85 stars 40 forks source link

Auto upgrade replacing heirlooms #123

Open MrAndy42 opened 2 years ago

MrAndy42 commented 2 years ago

I have looting turned on and auto upgrade items and I have just seen player bots replacing their heirloom weapons with white weapons they have just looted which were obviously inferior.

Level 7 Rogue replaced https://www.wowhead.com/wotlk/item=42945/venerable-dalrends-sacred-charge with https://www.wowhead.com/wotlk/item=2224/militia-dagger

Level 4 caster Shaman replaced https://www.wowhead.com/wotlk/item=42947/dignified-headmasters-charge with https://www.wowhead.com/wotlk/item=36/worn-mace conf files.zip

mostlikely4r commented 2 years ago

You can see why this happens by whispering the bot "q [item link]" this will show you if a bot finds the item usefull and for what.

Bots currently are rather strict when it comes to the items they prefer based on spec (which is already determined and can be changed even before lvl10). For example it's possible assassin rogues will always prefer daggers over swords.

The solution would be to loosen the restrictions. However the statweight calculation should still make bots strongly prefer equal level spec-optimal gear over offspec. Ie. Bots should somehow know they can do more with a epic lvl60 sword over a gray lvl1 dagger even if all abilities need daggers to execute.

A user workaround for this issue would be to give the bots a spec (using "talents ") that does make the bot see the weapon as optimal.