Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory

Port From (https://github.com/TrinityCore/TrinityCore/commit/4dce6ab228c54319032b346d2d791262eac3d9cd)
This commit is contained in:
hondacrx
2024-02-04 17:13:17 -05:00
parent ad9b9eddb2
commit ad880fc6b5
13 changed files with 294 additions and 186 deletions
+7
View File
@@ -31,6 +31,7 @@ namespace Framework.Constants
Max
}
[Flags]
public enum QuestObjectiveFlags
{
TrackedOnMinimap = 0x01, // Client Displays Large Yellow Blob On Minimap For Creature/Gameobject
@@ -45,6 +46,12 @@ namespace Framework.Constants
IgnoreSoulboundItems = 0x0200,
}
[Flags]
public enum QuestObjectiveFlags2
{
QuestBoundItem = 0x1 // Item is bound to a single objective, only increments the counter for one quest if multiple require the same item and is not stored in inventory
}
public enum QuestCompleteSpellType
{
LegacyBehavior = 0,