mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-09 02:23:52 +00:00
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:
parent
bc6e60c6e9
commit
99aaab3aa8
4 changed files with 23 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue