feat(editor): add Trainer/Banker/Auctioneer/Repair NPC flags + SQL export

CreatureSpawn struct gains four AzerothCore-standard NPC flag bits:
  trainer    -> npcflag 0x10
  repair     -> npcflag 0x1000
  banker     -> npcflag 0x20000
  auctioneer -> npcflag 0x200000
Saved/loaded via the JSON spawn file, exported to creature_template.npcflag,
exposed as checkboxes in the NPC template panel. Lets users build full
city NPCs (city auctioneer, weapon trainer, etc.) without dropping to SQL.
This commit is contained in:
Kelsi 2026-05-06 04:03:23 -07:00
parent bc6e60c6e9
commit 99aaab3aa8
4 changed files with 23 additions and 1 deletions

View file

@ -56,6 +56,10 @@ struct CreatureSpawn {
bool vendor = false;
bool flightmaster = false;
bool innkeeper = false;
bool trainer = false; // class/profession trainer (SQL npcflag 0x10)
bool auctioneer = false; // (SQL npcflag 0x200000)
bool banker = false; // (SQL npcflag 0x20000)
bool repair = false; // (SQL npcflag 0x1000)
bool selected = false;
};