Quest objectives: различия между версиями

Материал из Uwow
Перейти к навигации Перейти к поиску
Нет описания правки
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:


=== type ===
=== QuestObjectiveType ===
 
     QUEST_OBJECTIVE_MONSTER                                = 0,
     QUEST_OBJECTIVE_MONSTER                                = 0,
     QUEST_OBJECTIVE_ITEM                                    = 1,
     QUEST_OBJECTIVE_ITEM                                    = 1,
Строка 23: Строка 22:
     QUEST_OBJECTIVE_AREA_TRIGGER_ENTER                      = 19,
     QUEST_OBJECTIVE_AREA_TRIGGER_ENTER                      = 19,
     QUEST_OBJECTIVE_AREA_TRIGGER_EXIT                      = 20,
     QUEST_OBJECTIVE_AREA_TRIGGER_EXIT                      = 20,
    QUEST_OBJECTIVE_KILL_WITH_LABEL                        = 21,


=== QuestObjectiveFlags ===
    QUEST_OBJECTIVE_FLAG_TRACKED_ON_MINIMAP                = 0x01, // client displays large yellow blob on minimap for creature/gameobject
    QUEST_OBJECTIVE_FLAG_SEQUENCED                          = 0x02, // client will not see the objective displayed until all previous objectives are completed
    QUEST_OBJECTIVE_FLAG_OPTIONAL                          = 0x04, // not required to complete the quest
    QUEST_OBJECTIVE_FLAG_HIDDEN                            = 0x08, // never displayed in quest log
    QUEST_OBJECTIVE_FLAG_HIDE_ITEM_GAINS                    = 0x10, // skip showing item objective progress
    QUEST_OBJECTIVE_FLAG_PROGRESS_COUNTS_ITEMS_IN_INVENTORY = 0x20, // item objective progress counts items in inventory instead of reading it from updatefields
    QUEST_OBJECTIVE_FLAG_PART_OF_PROGRESS_BAR              = 0x40, // hidden objective used to calculate progress bar percent (quests are limited to a single progress bar objective)
    QUEST_OBJECTIVE_FLAG_KILL_PLAYERS_SAME_FACTION          = 0x80,
    QUEST_OBJECTIVE_FLAG_NO_SHARE_PROGRESS                  = 0x100,
    QUEST_OBJECTIVE_FLAG_IGNORE_SOULBIND_ITEMS              = 0x200,


=== enum QuestObjectiveFlags ===
==== QuestObjectiveFlags2 ====
 
     QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM                 = 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
     QUEST_OBJECTIVE_FLAG_TRACKED_ON_MINIMAP                 = 1, // client displays large yellow blob on minimap for creature/gameobject
    QUEST_OBJECTIVE_FLAG_SEQUENCED                          = 2, // client will not see the objective displayed until all previous objectives are completed
    QUEST_OBJECTIVE_FLAG_OPTIONAL                          = 4, // not required to complete the quest
    QUEST_OBJECTIVE_FLAG_HIDDEN                            = 8, // never displayed in quest log
    QUEST_OBJECTIVE_FLAG_HIDE_ITEM_GAINS                    = 16, // skip showing item objective progress
    QUEST_OBJECTIVE_FLAG_PROGRESS_COUNTS_ITEMS_IN_INVENTORY = 32, // item objective progress counts items in inventory instead of reading it from updatefields
    QUEST_OBJECTIVE_FLAG_PART_OF_PROGRESS_BAR              = 64, // hidden objective used to calculate progress bar percent (quests are limited to a single progress bar objective)
    QUEST_OBJECTIVE_FLAG_KILL_PLAYERS_SAME_FACTION          = 128,
    QUEST_OBJECTIVE_FLAG_NO_SHARE_PROGRESS                  = 246,
    QUEST_OBJECTIVE_FLAG_IGNORE_SOULBIND_ITEMS              = 512,

Текущая версия от 10:23, 24 декабря 2024

QuestObjectiveType

   QUEST_OBJECTIVE_MONSTER                                 = 0,
   QUEST_OBJECTIVE_ITEM                                    = 1,
   QUEST_OBJECTIVE_GAMEOBJECT                              = 2,
   QUEST_OBJECTIVE_TALKTO                                  = 3,
   QUEST_OBJECTIVE_CURRENCY                                = 4,
   QUEST_OBJECTIVE_LEARNSPELL                              = 5,
   QUEST_OBJECTIVE_MIN_REPUTATION                          = 6,
   QUEST_OBJECTIVE_MAX_REPUTATION                          = 7,
   QUEST_OBJECTIVE_MONEY                                   = 8,
   QUEST_OBJECTIVE_PLAYERKILLS                             = 9,
   QUEST_OBJECTIVE_AREATRIGGER                             = 10,
   QUEST_OBJECTIVE_PET_TRAINER_DEFEAT                      = 11,
   QUEST_OBJECTIVE_DEFEATBATTLEPET                         = 12,
   QUEST_OBJECTIVE_PET_BATTLE_VICTORIES                    = 13,
   QUEST_OBJECTIVE_COMPLETE_CRITERIA_TREE                  = 14, // CriteriaTree.dbc
   QUEST_OBJECTIVE_TASK_IN_ZONE                            = 15, // kill some npc, use some gobjects etc... and make dynamic quest UI completed
   QUEST_OBJECTIVE_HAVE_CURRENCY                           = 16,
   QUEST_OBJECTIVE_OBTAIN_CURRENCY                         = 17,
   QUEST_OBJECTIVE_INCREASE_REPUTATION                     = 18,   // requires the player to gain X reputation with a faction
   QUEST_OBJECTIVE_AREA_TRIGGER_ENTER                      = 19,
   QUEST_OBJECTIVE_AREA_TRIGGER_EXIT                       = 20,
   QUEST_OBJECTIVE_KILL_WITH_LABEL                         = 21,

QuestObjectiveFlags

   QUEST_OBJECTIVE_FLAG_TRACKED_ON_MINIMAP                 = 0x01, // client displays large yellow blob on minimap for creature/gameobject
   QUEST_OBJECTIVE_FLAG_SEQUENCED                          = 0x02, // client will not see the objective displayed until all previous objectives are completed
   QUEST_OBJECTIVE_FLAG_OPTIONAL                           = 0x04, // not required to complete the quest
   QUEST_OBJECTIVE_FLAG_HIDDEN                             = 0x08, // never displayed in quest log
   QUEST_OBJECTIVE_FLAG_HIDE_ITEM_GAINS                    = 0x10, // skip showing item objective progress
   QUEST_OBJECTIVE_FLAG_PROGRESS_COUNTS_ITEMS_IN_INVENTORY = 0x20, // item objective progress counts items in inventory instead of reading it from updatefields
   QUEST_OBJECTIVE_FLAG_PART_OF_PROGRESS_BAR               = 0x40, // hidden objective used to calculate progress bar percent (quests are limited to a single progress bar objective)
   QUEST_OBJECTIVE_FLAG_KILL_PLAYERS_SAME_FACTION          = 0x80,
   QUEST_OBJECTIVE_FLAG_NO_SHARE_PROGRESS                  = 0x100,
   QUEST_OBJECTIVE_FLAG_IGNORE_SOULBIND_ITEMS              = 0x200,

QuestObjectiveFlags2

   QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM                 = 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