trickerer / Trinity-Bots

NPCBots for TrinityCore and AzerothCore 3.3.5
https://github.com/trickerer/TrinityCore-3.3.5-with-NPCBots/
472 stars 155 forks source link

[TC] [AC] [Question/Feature] [Core] Option To Set Wandering Bots Gear Max Item Level #914

Open Zerkenn opened 4 days ago

Zerkenn commented 4 days ago

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

Description

I am creating a server where there are progressive level brackets and want the ability to control the max item level wandering bots spawn with. In the level 60 bracket I want to make it so wandering bots cant spawn with item levels higher than tier 1 (Item level 66) as that will be the max item level obtainable by real players so pvp will be balanced.

Is there a way / can a feature be implemented to the logic that controls gearing wandering bots to set a max item level they can spawn with?

TrinityCore or AzerothCore

Both

Core rev. hash/commit

No response

Operating system

No response

trickerer commented 3 days ago

This can be done, but if max item level is set too low bot may end up without most / any gear. I think instead of hardcoding a minimum item level for every bracket item selection algorithm should just fall back to a default selector in case no items were found because of maximum item level setting. That's because minimum item level may differ per item slot. The only question is: should it affect world maps wandering bots only or BG bots as well? Probably both

Zerkenn commented 3 days ago

This can be done, but if max item level is set too low bot may end up without most / any gear. I think instead of hardcoding a minimum item level for every bracket item selection algorithm should just fall back to a default selector in case no items were found because of maximum item level setting. That's because minimum item level may differ per item slot. The only question is: should it affect world maps wandering bots only or BG bots as well? Probably both

I would want it to affect all wandering bots. Thanks