[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
@@ -199,6 +199,7 @@ NPC::NPC(const NPCType *npc_type_data, Spawn2 *in_respawn, const glm::vec4 &posi
CHA = npc_type_data->CHA;
npc_mana = npc_type_data->Mana;
m_is_underwater_only = npc_type_data->underwater;
m_is_quest_npc = npc_type_data->is_quest_npc;
//quick fix of ordering if they screwed it up in the DB
if (max_dmg < min_dmg) {