[Rules] Add rule to restrict hand in of quest items to quest flagged NPCs. (#3536)

* Add rule to restrict handin of quest items to quest flagged npcs

* Minor format tweak

* Formatting
This commit is contained in:
Vayle
2023-08-12 21:48:40 -04:00
committed by GitHub
parent af91b2b41c
commit 5d6a1aad50
6 changed files with 34 additions and 10 deletions
+1
View File
@@ -1991,6 +1991,7 @@ const NPCType *ZoneDatabase::LoadNPCTypesData(uint32 npc_type_id, bool bulk_load
t->ranged_type = n.ranged_type;
t->runspeed = n.runspeed;
t->findable = n.findable != 0;
t->is_quest_npc = n.isquest != 0;
t->trackable = n.trackable != 0;
t->hp_regen = n.hp_regen_rate;
t->mana_regen = n.mana_regen_rate;