celguar / mangosbot-bots

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

Is it possible to restrict lvl 60 playerbots to rare gear? #200

Closed Alsoborte closed 1 year ago

Alsoborte commented 1 year ago

I have tried editing the equipment cache .sql file by deleting all the epic items, but they are still spawning with them. Am I editing the right file?

Thanks in advance.

mostlikely4r commented 1 year ago

AiPlayerbot.RandomGearMaxLevel = 50 AiPlayerbot.RandomGearMaxDiff = 40

You can use these config lines. The first one limits the itemlevel of the gear bots can get on randomisation. The second is the itemlevel difference between the bot and the gear selected.

It's not exactly what you ask for but playing with the first value while keeping the second large should give some usefull results.

celguar commented 1 year ago

@Alsoborte did you delete bots after removing epic items from equip cache?

Alsoborte commented 1 year ago

@mostlikely4r that worked great! Thank you!

@celguar yes, I deleted all bots before restarting server. Should that have worked?