azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.29k stars 2.51k forks source link

Refactor npc_trainer #5420

Open Kitzunu opened 3 years ago

Kitzunu commented 3 years ago

We should port https://github.com/TrinityCore/TrinityCore/commit/bf3ab6d9c4366dae1d34957813e3fbf40ac8532b https://github.com/trinitycore/trinitycore/commit/74d51b9263 https://github.com/TrinityCore/TrinityCore/commit/baebb2d602ca2f10159ea0039ec3a6d03155c3bd to get a more complete and easier to use trainer columns in the DB

It will also reduce the size of creature_template, which is nice

Kitzunu commented 3 years ago

for me to remember https://github.com/azerothcore/azerothcore-wotlk/issues/4590 https://github.com/azerothcore/azerothcore-wotlk/issues/5390

Kitzunu commented 3 years ago

SELECT * FROM conditions WHERE sourcegroup IN (7058)

Kitzunu commented 3 years ago

https://github.com/TrinityCore/TrinityCore/commit/1004a173a18c80628d6b0f566145091171f87961