Remove pointless trainer_... fields from creature_template#3128
Remove pointless trainer_... fields from creature_template#3128FlagFlayer wants to merge 6 commits intovmangos:developmentfrom
Conversation
trainer is valid if no condition required to train
skip gossip_menu 0 entries (e.g. world trainers)
IsConditionSatisfied returns false on no condition. Added proper error logging.
|
What happened with the Soothsaying fixes, did that implementation require these changes first? |
I think he just decided to split up the PR, see his comment here: #1705 (comment) |
no gossip menu means no condition to access the training menu
They did not require this, but since this part of the fixes makes the What I'm missing for the Soothsaying fixes is sniffs of the gossip submenus when going through the option "I would like to relearn my leatherworking focus", as well as the correct order of entries when talking to Book Soothsaying for Dummies and having both the leatherworking and the engineering options available. I haven't been able to get around to getting these sniffs, I hope someone else might be able to obtain them at some point. |
🍰 Pullrequest
Part 1 of the long-delayed profession-related fixes split from the old Soothsaying branch
Remove trainer_... fields from creature_template (except for trainer_id of course), cutting down on a decent amount of bloat.
Get rid of long deprecated "msg" field in IsTrainerOf and CanInteractWithBattleMaster (ancient code that used made up gossip entries that no longer even exist)
How2Test
.learn all_trainer. It correctly teaches all available trainer spells.Todo / Checklist