From e2b0ccb358739b6d1c6659b78680ddda68646bfd Mon Sep 17 00:00:00 2001 From: Emir Date: Fri, 30 Apr 2021 23:56:25 +0200 Subject: [PATCH] Azeroth Core DB (#60) --- .../azeroth/creature_template_ac.json | 495 ++++++ .../azeroth/gameobject_template_ac.json | 1534 +++++++++++++++++ .../azeroth/quest_template_ac.json | 724 ++++++++ 3 files changed, 2753 insertions(+) create mode 100644 WDE.DatabaseEditors/DbDefinitions/azeroth/creature_template_ac.json create mode 100644 WDE.DatabaseEditors/DbDefinitions/azeroth/gameobject_template_ac.json create mode 100644 WDE.DatabaseEditors/DbDefinitions/azeroth/quest_template_ac.json diff --git a/WDE.DatabaseEditors/DbDefinitions/azeroth/creature_template_ac.json b/WDE.DatabaseEditors/DbDefinitions/azeroth/creature_template_ac.json new file mode 100644 index 000000000..87b5cf8b2 --- /dev/null +++ b/WDE.DatabaseEditors/DbDefinitions/azeroth/creature_template_ac.json @@ -0,0 +1,495 @@ +{ + "id": "creature_template", + "compatibility": ["Azeroth"], + "name": "Creature Template", + "description": "Edit existing creature templates", + "table_name": "creature_template", + "table_index_name": "entry", + "table_name_source_field": "name", + "single_solution_name": "Creature {name} template", + "multi_solution_name": "Multiple creatures template", + "reload_command": "reload creature_template", + "picker": "CreatureParameter", + "group_name": "Templates", + "primary_key": [ + "entry" + ], + "foreign_tables": [ + { + "table_name": "creature_template_addon", + "foreign_key": "entry" + } + ], + "groups": [ + { + "group_name": "Entries", + "fields": [ + { + "name": "Entry", + "db_column_name": "entry", + "value_type": "uint", + "read_only": true + }, + { + "name": "Name", + "db_column_name": "name", + "value_type": "string", + "read_only": true + }, + { + "name": "Subname", + "db_column_name": "subname", + "value_type": "string", + "read_only": true, + "can_be_null": true + }, + { + "name": "Difficulty 1", + "db_column_name": "difficulty_entry_1", + "value_type": "CreatureParameter", + "read_only": true + }, + { + "name": "Difficulty 2", + "db_column_name": "difficulty_entry_2", + "value_type": "CreatureParameter", + "read_only": true + }, + { + "name": "Difficulty 3", + "db_column_name": "difficulty_entry_3", + "value_type": "CreatureParameter", + "read_only": true + }, + { + "name": "Kill credit", + "db_column_name": "KillCredit1", + "value_type": "CreatureParameter" + }, + { + "name": "Kill credit 2", + "db_column_name": "KillCredit2", + "value_type": "CreatureParameter" + } + ] + }, + { + "group_name": "Gossip", + "fields": [ + { + "name": "Icon name", + "db_column_name": "IconName", + "value_type": "string", + "read_only": false, + "can_be_null": true + }, + { + "name": "Gossip menu ID", + "db_column_name": "gossip_menu_id", + "value_type": "uint", + "read_only": false + } + ] + }, + { + "group_name": "General", + "fields": [ + { + "name": "Faction", + "db_column_name": "faction", + "value_type": "FactionParameter", + "read_only": false + }, + { + "name": "Min level", + "db_column_name": "minlevel", + "value_type": "uint", + "read_only": false + }, + { + "name": "Max level", + "db_column_name": "maxlevel", + "value_type": "uint", + "read_only": false + }, + { + "name": "Expansion", + "db_column_name": "exp", + "value_type": "ExpansionParameter", + "read_only": false + }, + { + "name": "Rank", + "db_column_name": "rank", + "value_type": "NpcRankParameter", + "read_only": false + }, + { + "name": "Unit class", + "db_column_name": "unit_class", + "value_type": "UnitClassParameter", + "read_only": false + }, + { + "name": "Family", + "db_column_name": "family", + "value_type": "CreatureFamilyParameter", + "read_only": false + }, + { + "name": "Creature type", + "db_column_name": "type", + "value_type": "CreatureTypeParameter", + "read_only": false + }, + { + "name": "Racial leader", + "db_column_name": "RacialLeader", + "value_type": "bool", + "read_only": false + } + ] + }, + { + "group_name": "Flags", + "fields": [ + { + "name": "NPC Flags", + "db_column_name": "npcflag", + "value_type": "NpcFlagParameter", + "read_only": false + }, + { + "name": "Unit Flags", + "db_column_name": "unit_flags", + "value_type": "UnitFlagParameter", + "read_only": false + }, + { + "name": "Unit Flags 2", + "db_column_name": "unit_flags2", + "value_type": "UnitFlags2Parameter", + "read_only": false + }, + { + "name": "Dynamic Flags", + "db_column_name": "dynamicflags", + "value_type": "DynamicFlagsParameter", + "read_only": false + }, + { + "name": "Type Flags", + "db_column_name": "type_flags", + "value_type": "TypeFlagsParameter", + "read_only": false + }, + { + "name": "Extra Flags", + "db_column_name": "flags_extra", + "value_type": "ExtraFlagParameter", + "read_only": false + }, + { + "name": "Trainer Type", + "db_column_name": "trainer_type", + "value_type": "uint", + "read_only": false + }, + { + "name": "Trainer Spell", + "db_column_name": "trainer_spell", + "value_type": "uint", + "read_only": false + }, + { + "name": "Trainer Class", + "db_column_name": "trainer_class", + "value_type": "uint", + "read_only": false + }, + { + "name": "Trainer Race", + "db_column_name": "trainer_race", + "value_type": "uint", + "read_only": false + } + + ] + }, + { + "group_name": "Addon", + "fields": [ + { + "name": "Path id", + "db_column_name": "path_id", + "foreign_table": "creature_template_addon", + "value_type": "uint" + }, + { + "name": "Mount", + "db_column_name": "mount", + "foreign_table": "creature_template_addon", + "value_type": "CreatureParameter" + }, + { + "name": "Bytes 1", + "db_column_name": "bytes1", + "foreign_table": "creature_template_addon", + "value_type": "uint" + }, + { + "name": "Bytes 2", + "db_column_name": "bytes2", + "foreign_table": "creature_template_addon", + "value_type": "uint" + }, + { + "name": "Emote", + "db_column_name": "emote", + "foreign_table": "creature_template_addon", + "value_type": "EmoteParameter" + }, + { + "name": "Is large", + "db_column_name": "isLarge", + "foreign_table": "creature_template_addon", + "value_type": "BoolParameter" + }, + { + "name": "Auras", + "db_column_name": "auras", + "foreign_table": "creature_template_addon", + "value_type": "string", + "can_be_null": true + } + ] + }, + { + "group_name": "Movement", + "fields": [ + { + "name": "Vehicle ID", + "db_column_name": "VehicleId", + "value_type": "uint", + "read_only": false + }, + { + "name": "Walk speed", + "db_column_name": "speed_walk", + "value_type": "float", + "read_only": false + }, + { + "name": "Run speed", + "db_column_name": "speed_run", + "value_type": "float", + "read_only": false + }, + { + "name": "Movement type", + "db_column_name": "MovementType", + "value_type": "uint", + "read_only": false + }, + { + "name": "Hover height", + "db_column_name": "HoverHeight", + "value_type": "float", + "read_only": true + }, + { + "name": "Movement ID", + "db_column_name": "movementId", + "value_type": "uint", + "read_only": true + } + ] + }, + { + "group_name": "Visual", + "fields": [ + { + "name": "Model Id 1", + "db_column_name": "modelid1", + "value_type": "uint", + "read_only": false + }, + { + "name": "Model Id 2", + "db_column_name": "modelid2", + "value_type": "uint", + "read_only": false + }, + { + "name": "Model Id 3", + "db_column_name": "modelid3", + "value_type": "uint", + "read_only": false + }, + { + "name": "Model Id 4", + "db_column_name": "modelid4", + "value_type": "uint", + "read_only": false + }, + { + "name": "Model scale", + "db_column_name": "scale", + "value_type": "float", + "read_only": false + } + ] + }, + { + "group_name": "Combat", + "fields": [ + { + "name": "Damage school", + "db_column_name": "dmgschool", + "value_type": "SpellSchoolParameter", + "read_only": false + }, + { + "name": "Melee attack time", + "db_column_name": "BaseAttackTime", + "value_type": "uint", + "read_only": false + }, + { + "name": "Ranged attack time", + "db_column_name": "RangeAttackTime", + "value_type": "uint", + "read_only": false + }, + { + "name": "BaseVariance", + "db_column_name": "BaseVariance", + "value_type": "float", + "read_only": false + }, + { + "name": "RangeVariance", + "db_column_name": "RangeVariance", + "value_type": "float", + "read_only": false + }, + { + "name": "Pet spell ID", + "db_column_name": "PetSpellDataId", + "value_type": "uint", + "read_only": false + }, + { + "name": "Health regen", + "db_column_name": "RegenHealth", + "value_type": "bool", + "read_only": false + }, + { + "name": "Health mod", + "db_column_name": "HealthModifier", + "value_type": "float", + "read_only": true + }, + { + "name": "Mana mod", + "db_column_name": "ManaModifier", + "value_type": "float", + "read_only": true + }, + { + "name": "Armor mod", + "db_column_name": "ArmorModifier", + "value_type": "float", + "read_only": true + }, + { + "name": "Damage mod", + "db_column_name": "DamageModifier", + "value_type": "float", + "read_only": false + } + ] + }, + { + "group_name": "Loot", + "fields": [ + { + "name": "Loot ID", + "db_column_name": "lootid", + "value_type": "uint", + "read_only": false + }, + { + "name": "Skinning loot ID", + "db_column_name": "skinloot", + "value_type": "uint", + "read_only": false + }, + { + "name": "Pickpocket loot ID", + "db_column_name": "pickpocketloot", + "value_type": "uint", + "read_only": false + }, + { + "name": "Min gold", + "db_column_name": "mingold", + "value_type": "uint", + "read_only": false + }, + { + "name": "Max gold", + "db_column_name": "maxgold", + "value_type": "uint", + "read_only": false + } + ] + }, + { + "group_name": "Immunities", + "fields": [ + { + "name": "Mechanic immune mask", + "db_column_name": "mechanic_immune_mask", + "value_type": "SpellMechanicParameter", + "read_only": false + }, + { + "name": "School immune mask", + "db_column_name": "spell_school_immune_mask", + "value_type": "SpellSchoolMaskParameter", + "read_only": false + } + ] + }, + { + "group_name": "Scripts", + "fields": [ + { + "name": "AI name", + "db_column_name": "AIName", + "value_type": "string", + "read_only": true + }, + { + "name": "Script name", + "db_column_name": "ScriptName", + "value_type": "string", + "read_only": false + } + ] + }, + { + "group_name": "Build", + "fields":[ + { + "name": "Verified Build", + "db_column_name": "VerifiedBuild", + "value_type": "string", + "can_be_null": true + } + ] + } + ] +} \ No newline at end of file diff --git a/WDE.DatabaseEditors/DbDefinitions/azeroth/gameobject_template_ac.json b/WDE.DatabaseEditors/DbDefinitions/azeroth/gameobject_template_ac.json new file mode 100644 index 000000000..32f882501 --- /dev/null +++ b/WDE.DatabaseEditors/DbDefinitions/azeroth/gameobject_template_ac.json @@ -0,0 +1,1534 @@ +{ + "id": "gameobject_template", + "compatibility": ["Azeroth"], + "name": "Gameobject Template", + "description": "Edit existing gameobject templates", + "table_name": "gameobject_template", + "table_index_name": "entry", + "table_name_source_field": "name", + "single_solution_name": "Gameobject {name} template", + "multi_solution_name": "Multiple gameobjects template", + "picker": "GameobjectParameter", + "group_name": "Templates", + "primary_key": [ + "entry" + ], + "foreign_tables": [ + { + "table_name": "gameobject_template_addon", + "foreign_key": "entry" + } + ], + "groups": [ + { + "group_name": "General", + "fields": [ + { + "name": "Entry", + "db_column_name": "entry", + "value_type": "uint", + "read_only": true + }, + { + "name": "Name", + "db_column_name": "name", + "value_type": "string", + "read_only": true + }, + { + "name": "Type", + "db_column_name": "type", + "value_type": "GameobjectTypeParameter" + } + ] + }, + { + "group_name": "Visual", + "fields": [ + { + "name": "Display", + "db_column_name": "displayId", + "value_type": "uint", + "read_only": true + }, + { + "name": "Size", + "db_column_name": "size", + "value_type": "float" + }, + { + "name": "Icon name", + "db_column_name": "IconName", + "value_type": "string", + "read_only": true + }, + { + "name": "Cast bar caption", + "db_column_name": "castBarCaption", + "value_type": "string", + "read_only": true + } + ] + }, + { + "group_name": "Type: door", + "show_if": { + "value": 0, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Start as opened", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data1", + "name": "Lock Id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Time in ms to auto close", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Immune to damage", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data4", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "On close broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "Ignored by pathfinding", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data7", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: button", + "show_if": { + "value": 1, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Start as opened", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data1", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Auto close", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Linked trap entry", + "value_type": "GameobjectParameter" + }, + { + "db_column_name": "Data4", + "name": "Immune to damage", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data5", + "name": "Is large", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data6", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "On close broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data8", + "name": "LOS ok", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data9", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: quest giver", + "show_if": { + "value": 2, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Quest list id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Page material", + "value_type": "PageTextMaterialParameter" + }, + { + "db_column_name": "Data3", + "name": "Gossip Id", + "value_type": "GossipMenuParameter" + }, + { + "db_column_name": "Data4", + "name": "Custom anim", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Immune to damage", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data6", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "Los ok", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data8", + "name": "Allow mounted", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data9", + "name": "Is large", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data10", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: Chest", + "show_if": { + "value": 3, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Loot id", + "value_type": "GameObjectLootParameter" + }, + { + "db_column_name": "Data2", + "name": "Restock time in sec", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Is consumable", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data4", + "name": "Min success opens", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Max success opens", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "On loot event id", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "Linked trap entry", + "value_type": "GameobjectParameter" + }, + { + "db_column_name": "Data8", + "name": "Required quest id to open", + "value_type": "QuestParameter" + }, + { + "db_column_name": "Data9", + "name": "Min level to open", + "value_type": "uint" + }, + { + "db_column_name": "Data10", + "name": "Los ok", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data11", + "name": "Leave loot", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data12", + "name": "Not in combat", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data13", + "name": "Log loot", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data14", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data15", + "name": "Use group loot rules", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data16", + "name": "Floating tooltip", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data17", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: Generic", + "show_if": { + "value": 5, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Floating tooltip", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data1", + "name": "Highlight", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data2", + "name": "Server only", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data3", + "name": "Is large", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data4", + "name": "Float on water", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data5", + "name": "Required quest id to open", + "value_type": "QuestParameter" + }, + { + "db_column_name": "Data6", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: Trap", + "show_if": { + "value": 6, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Object level", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Diameter (radius x 2)", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Spell id", + "value_type": "SpellParameter" + }, + { + "db_column_name": "Data4", + "name": "Trap type", + "value_type": "TrapTypeParameter" + }, + { + "db_column_name": "Data5", + "name": "Cooldown time in sec", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "Auto close time", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "Start delay time in sec", + "value_type": "uint" + }, + { + "db_column_name": "Data8", + "name": "Server only", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data9", + "name": "Is stealthed", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data10", + "name": "Is large", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data11", + "name": "Is stealth affected", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data12", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data13", + "name": "On close broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data14", + "name": "Ignore totems", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data15", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: chair", + "show_if": { + "value": 7, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Amount of slots", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Height", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Usable only by creator", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data3", + "name": "Triggered event id", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: spell focus", + "show_if": { + "value": 8, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Spell focus type", + "value_type": "SpellFocusObjectParameter" + }, + { + "db_column_name": "Data1", + "name": "Radius", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Linked trap entry", + "value_type": "GameobjectParameter" + }, + { + "db_column_name": "Data3", + "name": "Server only", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data4", + "name": "Required quest id to open", + "value_type": "QuestParameter" + }, + { + "db_column_name": "Data5", + "name": "Is large", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data6", + "name": "Floating tooltip", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data7", + "name": "Float on water", + "value_type": "BoolParameter" + }, + { + "db_column_name": "Data8", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: Text", + "show_if": { + "value": 9, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Page id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Language", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Page material", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Allow mounted (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Condition id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: Goober", + "show_if": { + "value": 10, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Required quest id to open", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Triggered event id", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Auto close time in ms", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Custom anim", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Is consumable (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "Cooldown time in sec", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "Page id", + "value_type": "uint" + }, + { + "db_column_name": "Data8", + "name": "Language", + "value_type": "uint" + }, + { + "db_column_name": "Data9", + "name": "Page material", + "value_type": "uint" + }, + { + "db_column_name": "Data10", + "name": "Spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data11", + "name": "Immune to damage (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data12", + "name": "Linked trap entry", + "value_type": "uint" + }, + { + "db_column_name": "Data13", + "name": "Is large (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data14", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data15", + "name": "On close broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data16", + "name": "Los ok", + "value_type": "uint" + }, + { + "db_column_name": "Data17", + "name": "Usable while mounted (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data18", + "name": "Floating tooltip (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data19", + "name": "Gossip id", + "value_type": "uint" + }, + { + "db_column_name": "Data20", + "name": "Allow multi interaction", + "value_type": "uint" + }, + { + "db_column_name": "Data21", + "name": "Float on water (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data22", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: transport", + "show_if": { + "value": 11, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Time to pause", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Start open", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Time to auto close in sec", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Pause 1 event id", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Pause 2 event id", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Map id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: area damage", + "show_if": { + "value": 12, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Radius", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Min damage", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Max damage", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Damage school", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Time to auto close in sec", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "On close broadcast text id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: camera", + "show_if": { + "value": 13, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Cinematic id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Triggered event id", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: map object", + "show_if": { + "value": 15, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Taxi path id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Move speed", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Acceleration rate", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "On start event id", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "On end event id", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Transport physics", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "Map id", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "World state", + "value_type": "uint" + }, + { + "db_column_name": "Data8", + "name": "Allow stops (flag)", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: ritual", + "show_if": { + "value": 18, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Required amount of casters", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Anim spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Is ritual persistent (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Caster target spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Caster target spell targets (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "Casters grouped", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "Ritual dont check target (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data8", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: guard post", + "show_if": { + "value": 21, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Creature entry", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Charges", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: spell caster", + "show_if": { + "value": 22, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Charges", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Party only (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Allow while mounted (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Is large (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: meeting stone", + "show_if": { + "value": 23, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Min level", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Max level", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Area id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: flag stand", + "show_if": { + "value": 24, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "On pickup spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Radius", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "On return aura spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "On return spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Immune to damage (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "On open broadcast text id", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "Los ok", + "value_type": "uint" + }, + { + "db_column_name": "Data8", + "name": "Condition Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: fishing hole", + "show_if": { + "value": 25, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Radius", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Loot id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Min success opens", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Max success opens", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Lock Id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: flag drop", + "show_if": { + "value": 26, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Lock id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Triggered event id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "On pickup spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Immune to damage (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "On open broadcast text id", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: capture point", + "show_if": { + "value": 29, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Radius", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "World state 1", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "World state 2", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "On win event id 1", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "On win event id 2", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "On contested event id 1", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "On contested event id 2", + "value_type": "uint" + }, + { + "db_column_name": "Data8", + "name": "On progress event id 1", + "value_type": "uint" + }, + { + "db_column_name": "Data9", + "name": "On progress event id 2", + "value_type": "uint" + }, + { + "db_column_name": "Data10", + "name": "On neutral event id 1", + "value_type": "uint" + }, + { + "db_column_name": "Data11", + "name": "On neutral event id 2", + "value_type": "uint" + }, + { + "db_column_name": "Data12", + "name": "Neutral pct", + "value_type": "uint" + }, + { + "db_column_name": "Data13", + "name": "World state 3", + "value_type": "uint" + }, + { + "db_column_name": "Data14", + "name": "Min superiority", + "value_type": "uint" + }, + { + "db_column_name": "Data15", + "name": "Max superiority", + "value_type": "uint" + }, + { + "db_column_name": "Data16", + "name": "Min time", + "value_type": "uint" + }, + { + "db_column_name": "Data17", + "name": "Max time", + "value_type": "uint" + }, + { + "db_column_name": "Data18", + "name": "Is large (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data19", + "name": "Highlight (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data20", + "name": "Starting value", + "value_type": "uint" + }, + { + "db_column_name": "Data21", + "name": "Unidirectional", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: aura generator", + "show_if": { + "value": 30, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Start open (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Radius", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Aura 1 spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Condition Id 1", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Aura 2 spell id", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Condition Id 2", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "Server only", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: dungeon difficulty", + "show_if": { + "value": 31, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Map id", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Difficulty", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: barber chair", + "show_if": { + "value": 32, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Chair height", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Height offset", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: drstructible building", + "show_if": { + "value": 33, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "Intact num hits", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Credit proxy creature", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data3", + "name": "Intact event", + "value_type": "uint" + }, + { + "db_column_name": "Data4", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data5", + "name": "Damaged num hits", + "value_type": "uint" + }, + { + "db_column_name": "Data6", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data7", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data8", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data9", + "name": "Damaged event", + "value_type": "uint" + }, + { + "db_column_name": "Data10", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data11", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data12", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data13", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data14", + "name": "Destroyed event", + "value_type": "uint" + }, + { + "db_column_name": "Data15", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data16", + "name": "Time to rebuild in sec", + "value_type": "uint" + }, + { + "db_column_name": "Data17", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data18", + "name": "Destructible data", + "value_type": "uint" + }, + { + "db_column_name": "Data19", + "name": "Rebuilding event", + "value_type": "uint" + }, + { + "db_column_name": "Data20", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data21", + "name": "Unused", + "value_type": "uint" + }, + { + "db_column_name": "Data22", + "name": "Damage event", + "value_type": "uint" + }, + { + "db_column_name": "Data23", + "name": "Unused", + "value_type": "uint" + } + ] + }, + { + "group_name": "Type: trap door", + "show_if": { + "value": 35, + "db_column_name": "type" + }, + "fields": [ + { + "db_column_name": "Data0", + "name": "", + "value_type": "uint" + }, + { + "db_column_name": "Data1", + "name": "Start open (flag)", + "value_type": "uint" + }, + { + "db_column_name": "Data2", + "name": "Auto close (flag)", + "value_type": "uint" + } + ] + }, + { + "group_name": "Scripts", + "fields": [ + { + "name": "AI name", + "db_column_name": "AIName", + "value_type": "string", + "read_only": true + }, + { + "name": "Script name", + "db_column_name": "ScriptName", + "value_type": "string" + }, + { + "name": "Verified build", + "db_column_name": "VerifiedBuild", + "value_type": "int", + "can_be_null": true + } + ] + } + ] +} diff --git a/WDE.DatabaseEditors/DbDefinitions/azeroth/quest_template_ac.json b/WDE.DatabaseEditors/DbDefinitions/azeroth/quest_template_ac.json new file mode 100644 index 000000000..859dec888 --- /dev/null +++ b/WDE.DatabaseEditors/DbDefinitions/azeroth/quest_template_ac.json @@ -0,0 +1,724 @@ +{ + "id": "quest_template", + "compatibility": ["Azeroth"], + "name": "Quest Template", + "description": "Edit existing quest templates", + "table_name": "quest_template", + "table_index_name": "ID", + "table_name_source_field": "LogTitle", + "single_solution_name": "Quest {name} template", + "multi_solution_name": "Multiple quests template", + "reload_command": "reload quest_template", + "picker": "QuestParameter", + "group_name": "Templates", + "primary_key": [ + "ID" + ], + "foreign_tables": [ + { + "table_name": "quest_template_addon", + "foreign_key": "ID" + } + ], + "groups": [ + { + "group_name": "Entries", + "fields": [ + { + "name": "Entry", + "db_column_name": "ID", + "read_only": true, + "value_type": "uint" + }, + { + "name": "Log title", + "db_column_name": "LogTitle", + "value_type": "string", + "can_be_null": true + }, + { + "name": "Quest type", + "db_column_name": "QuestType", + "value_type": "QuestTypeParameter" + }, + { + "name": "Flags", + "db_column_name": "Flags", + "value_type": "QuestFlagParameter" + }, + { + "name": "Special flags", + "db_column_name": "SpecialFlags", + "foreign_table": "quest_template_addon", + "value_type": "QuestSpecialFlagParameter", + "help": "QuestFlagParamter" + }, + { + "name": "Allowable races", + "db_column_name": "AllowableRaces", + "value_type": "RaceMaskParameter" + }, + { + "name": "Allowable classes", + "foreign_table": "quest_template_addon", + "db_column_name": "AllowableClasses", + "value_type": "ClassMaskParameter", + "help": "Classes required to get the quest. 0 means the quest is available for all classes. Note: This is deprecated according to the wiki, please see documentation." + }, + { + "name": "Quest level", + "db_column_name": "QuestLevel", + "value_type": "int", + "help": "Level of quest. Player receives full experience amount only if their level is less than or equal to Level+5. If Level is set to -1, the player's level will be used as (Quest)Level for the experience calculation." + }, + { + "name": "Min player level", + "db_column_name": "MinLevel", + "value_type": "uint", + "help": "Minimum level at which a player can get the quest." + }, + { + "name": "Max player level", + "foreign_table": "quest_template_addon", + "db_column_name": "MaxLevel", + "value_type": "uint", + "help": "Maximum player level at which a character can get the quest" + }, + { + "name": "Quest sort ID", + "db_column_name": "QuestSortID", + "value_type": "int", + "help": "This field defines under what category the quest falls in the quest log." + }, + { + "name": "Quest info", + "db_column_name": "QuestInfoID", + "value_type": "QuestInfoParameter" + }, + { + "name": "Suggested group size", + "db_column_name": "SuggestedGroupNum", + "value_type": "uint", + "help": "Recommended number of players to do the quest together." + }, + { + "name": "Start item", + "db_column_name": "StartItem", + "value_type": "ItemParameter", + "help": "Items given by the quest giver at beginning of the quest. Items will be deleted when quest is abandoned." + }, + { + "name": "Provided start item count", + "db_column_name": "ProvidedItemCount", + "foreign_table": "quest_template_addon", + "help": "Number of items given to the player (inserted in the player's bags) upon accepting the quest.", + "value_type": "uint" + }, + { + "name": "Cast spell on start", + "db_column_name": "SourceSpellID", + "foreign_table": "quest_template_addon", + "value_type": "SpellParameter", + "help": "The spell ID cast on player upon starting the quest." + }, + { + "name": "Time allowed", + "db_column_name": "TimeAllowed", + "value_type": "uint" + }, + { + "name": "Verified build", + "db_column_name": "VerifiedBuild", + "value_type": "int", + "can_be_null": true + } + ] + }, + { + "group_name": "Chaining", + "fields": [ + { + "name": "Previous quest", + "foreign_table": "quest_template_addon", + "db_column_name": "PrevQuestID", + "value_type": "PrevQuestParameter" + }, + { + "name": "Next quest", + "foreign_table": "quest_template_addon", + "db_column_name": "NextQuestID", + "value_type": "QuestParameter" + }, + { + "name": "Exclusive group", + "foreign_table": "quest_template_addon", + "db_column_name": "ExclusiveGroup", + "value_type": "int", + "help": "if ExclusiveGroup > 0: \nAllows to define a group of quests of which only one may be chosen and completed. E.g. if from quests 1200, 1201 and 1202 only one should be allowed to be chosen, insert 1200 into ExclusiveGroup of all 3 quests.\n\nif ExclusiveGroup < 0\nAllows to define a group of quests of which all must be completed and rewarded to start next quest. E.g. if quest 1000 dependent from one of quests 1200, 1201 and 1202 and all this quests have same negative exclusive group then all this quest must be completed and rewarded before quest 1000 can be started." + }, + { + "name": "Reward next quest", + "db_column_name": "RewardNextQuest", + "value_type": "QuestParameter" + } + ] + }, + { + "group_name": "Objectives", + "fields": [ + { + "name": "Required npc or go 1", + "db_column_name": "RequiredNpcOrGo1", + "value_type": "CreatureParameter" + }, + { + "name": "Required npc or go count 1", + "db_column_name": "RequiredNpcOrGoCount1", + "value_type": "uint" + }, + { + "name": "Required npc or go 2", + "db_column_name": "RequiredNpcOrGo2", + "value_type": "CreatureParameter" + }, + { + "name": "Required npc or go count 2", + "db_column_name": "RequiredNpcOrGoCount2", + "value_type": "uint" + }, + { + "name": "Required npc or go 3", + "db_column_name": "RequiredNpcOrGo3", + "value_type": "CreatureParameter" + }, + { + "name": "Required npc or go count 3", + "db_column_name": "RequiredNpcOrGoCount3", + "value_type": "uint" + }, + { + "name": "Required npc or go 4", + "db_column_name": "RequiredNpcOrGo4", + "value_type": "CreatureParameter" + }, + { + "name": "Required npc or go count 4", + "db_column_name": "RequiredNpcOrGoCount4", + "value_type": "uint" + }, + { + "name": "Required item id 1", + "db_column_name": "RequiredItemId1", + "value_type": "ItemParameter" + }, + { + "name": "Required item count 1", + "db_column_name": "RequiredItemCount1", + "value_type": "uint" + }, + { + "name": "Required item id 2", + "db_column_name": "RequiredItemId2", + "value_type": "ItemParameter" + }, + { + "name": "Required item count 2", + "db_column_name": "RequiredItemCount2", + "value_type": "uint" + }, + { + "name": "Required item id 3", + "db_column_name": "RequiredItemId3", + "value_type": "ItemParameter" + }, + { + "name": "Required item count 3", + "db_column_name": "RequiredItemCount3", + "value_type": "uint" + }, + { + "name": "Required item id 4", + "db_column_name": "RequiredItemId4", + "value_type": "ItemParameter" + }, + { + "name": "Required item count 4", + "db_column_name": "RequiredItemCount4", + "value_type": "uint" + }, + { + "name": "Required item id 5", + "db_column_name": "RequiredItemId5", + "value_type": "ItemParameter" + }, + { + "name": "Required item count 5", + "db_column_name": "RequiredItemCount5", + "value_type": "uint" + }, + { + "name": "Required item id 6", + "db_column_name": "RequiredItemId6", + "value_type": "ItemParameter" + }, + { + "name": "Required item count 6", + "db_column_name": "RequiredItemCount6", + "value_type": "uint" + }, + { + "name": "RequiredPlayerKills", + "db_column_name": "RequiredPlayerKills", + "value_type": "uint", + "help": "Displays how much players you need to kill before completing the quest." + }, + { + "name": "Required faction id 1", + "db_column_name": "RequiredFactionId1", + "value_type": "uint" + }, + { + "name": "Required faction value 1", + "db_column_name": "RequiredFactionValue1", + "value_type": "int" + }, + { + "name": "Required faction id 2", + "db_column_name": "RequiredFactionId2", + "value_type": "uint" + }, + { + "name": "Required faction value 2", + "db_column_name": "RequiredFactionValue2", + "value_type": "int" + }, + { + "name": "Required skill", + "db_column_name": "RequiredSkillID", + "foreign_table": "quest_template_addon", + "value_type": "SkillParameter" + }, + { + "name": "Required skill points", + "db_column_name": "RequiredSkillPoints", + "foreign_table": "quest_template_addon", + "value_type": "uint" + }, + { + "name": "Required min reputation faction", + "db_column_name": "RequiredMinRepFaction", + "foreign_table": "quest_template_addon", + "value_type": "FactionParameter" + }, + { + "name": "Required min reputation value", + "db_column_name": "RequiredMinRepValue", + "foreign_table": "quest_template_addon", + "value_type": "int", + "help": "Players must have this reputation or higher in order to receive the quest." + }, + { + "name": "Required max reputation faction", + "db_column_name": "RequiredMaxRepFaction", + "foreign_table": "quest_template_addon", + "value_type": "FactionParameter", + "help": "The Faction ID for the faction that controls the maximum reputation value that the player can have and still get the quest." + }, + { + "name": "Required max reputation value", + "db_column_name": "RequiredMaxRepValue", + "foreign_table": "quest_template_addon", + "value_type": "int", + "help": "The maximum reputation value that the player can have with a faction and still get the quest. If the player has more reputation than the value in this field, the quest will not be able to be taken anymore." + } + ] + }, + { + "group_name": "Texts", + "fields": [ + { + "name": "Log description", + "db_column_name": "LogDescription", + "value_type": "string", + "can_be_null": true + }, + { + "name": "Quest description", + "db_column_name": "QuestDescription", + "value_type": "string", + "can_be_null": true + }, + { + "name": "Area description", + "db_column_name": "AreaDescription", + "value_type": "string", + "can_be_null": true + }, + { + "name": "QuestCompletionLog", + "db_column_name": "QuestCompletionLog", + "value_type": "string", + "can_be_null": true + }, + { + "name": "Unknown 0", + "db_column_name": "Unknown0", + "value_type": "uint" + }, + { + "name": "Objective text 1", + "db_column_name": "ObjectiveText1", + "value_type": "string", + "can_be_null": true + }, + { + "name": "Objective text 2", + "db_column_name": "ObjectiveText2", + "value_type": "string", + "can_be_null": true + }, + { + "name": "Objective text 3", + "db_column_name": "ObjectiveText3", + "value_type": "string", + "can_be_null": true + }, + { + "name": "Objective text 4", + "db_column_name": "ObjectiveText4", + "value_type": "string", + "can_be_null": true + } + ] + }, + { + "group_name": "Item rewards", + "fields": [ + + { + "name": "Reward choice item 1", + "db_column_name": "RewardChoiceItemID1", + "value_type": "ItemParameter" + }, + { + "name": "Reward choice item quantity 1", + "db_column_name": "RewardChoiceItemQuantity1", + "value_type": "uint" + }, + { + "name": "Reward choice item 2", + "db_column_name": "RewardChoiceItemID2", + "value_type": "ItemParameter" + }, + { + "name": "Reward choice item quantity 2", + "db_column_name": "RewardChoiceItemQuantity2", + "value_type": "uint" + }, + { + "name": "Reward choice item 3", + "db_column_name": "RewardChoiceItemID3", + "value_type": "ItemParameter" + }, + { + "name": "Reward choice item quantity 3", + "db_column_name": "RewardChoiceItemQuantity3", + "value_type": "uint" + }, + { + "name": "Reward choice item 4", + "db_column_name": "RewardChoiceItemID4", + "value_type": "ItemParameter" + }, + { + "name": "Reward choice item quantity 4", + "db_column_name": "RewardChoiceItemQuantity4", + "value_type": "uint" + }, + { + "name": "Reward choice item 5", + "db_column_name": "RewardChoiceItemID5", + "value_type": "ItemParameter" + }, + { + "name": "Reward choice item quantity 5", + "db_column_name": "RewardChoiceItemQuantity5", + "value_type": "uint" + }, + { + "name": "Reward choice item 6", + "db_column_name": "RewardChoiceItemID6", + "value_type": "ItemParameter" + }, + { + "name": "Reward choice item quantity 6", + "db_column_name": "RewardChoiceItemQuantity6", + "value_type": "uint" + }, + { + "name": "Reward item 1", + "db_column_name": "RewardItem1", + "value_type": "ItemParameter" + }, + { + "name": "Reward amount 1", + "db_column_name": "RewardAmount1", + "value_type": "uint" + }, + { + "name": "Reward item 2", + "db_column_name": "RewardItem2", + "value_type": "ItemParameter" + }, + { + "name": "Reward amount 2", + "db_column_name": "RewardAmount2", + "value_type": "uint" + }, + { + "name": "Reward item 3", + "db_column_name": "RewardItem3", + "value_type": "ItemParameter" + }, + { + "name": "Reward amount 3", + "db_column_name": "RewardAmount3", + "value_type": "uint" + }, + { + "name": "Reward item 4", + "db_column_name": "RewardItem4", + "value_type": "ItemParameter" + }, + { + "name": "Reward amount 4", + "db_column_name": "RewardAmount4", + "value_type": "uint" + } + ] + }, + { + "group_name": "Rewards", + "fields": [ + { + "name": "Reward XP difficulty", + "db_column_name": "RewardXPDifficulty", + "value_type": "uint", + "help": "According to the Level, the basic experience with index RewardXPDifficulty is taken from QuestXP.dbc." + }, + { + "name": "Reward money", + "db_column_name": "RewardMoney", + "value_type": "int", + "help": "Money earned by completing the quest (if value > 0) or money requirement to complete the quest (if value < 0)." + }, + { + "name": "Reward bonus money", + "db_column_name": "RewardBonusMoney", + "value_type": "uint", + "help": "The money a character at level 80 would get when they complete this quest." + }, + { + "name": "Reward display spell", + "db_column_name": "RewardDisplaySpell", + "value_type": "SpellParameter" + }, + { + "name": "Reward spell", + "db_column_name": "RewardSpell", + "value_type": "SpellParameter" + }, + { + "name": "Reward honor", + "db_column_name": "RewardHonor", + "value_type": "int", + "help": "Number of honorable kill honor rewarded for completing this quest." + }, + { + "name": "Reward kill honor", + "db_column_name": "RewardKillHonor", + "value_type": "float" + }, + { + "name": "Reward title", + "db_column_name": "RewardTitle", + "value_type": "CharTitleParameter" + }, + { + "name": "Reward talents", + "db_column_name": "RewardTalents", + "value_type": "uint", + "help": "Will give X bonus talents to the player completed the quest. Leave '0' for No Bonus Talent Points." + }, + { + "name": "Reward arena points", + "db_column_name": "RewardArenaPoints", + "value_type": "uint", + "help": "Will Give X Arena Points to the player that completes the quest. Leave '0' For no Arena Points Reward." + }, + { + "name": "Reward faction id 1", + "db_column_name": "RewardFactionID1", + "value_type": "FactionParameter", + "help": "Faction for which the quest give reputation points.\nNumber of gain or lost reputation points for Faction at quest completion. This is special reputation rewarding. Normal reputation reward to quest rewarding creature faction calculated and added automatically." + }, + { + "name": "Reward faction value 1", + "db_column_name": "RewardFactionValue1", + "value_type": "int" + }, + { + "name": "Reward faction override 1", + "db_column_name": "RewardFactionOverride1", + "value_type": "int" + }, + { + "name": "Reward faction id 2", + "db_column_name": "RewardFactionID2", + "value_type": "FactionParameter" + }, + { + "name": "Reward faction value 2", + "db_column_name": "RewardFactionValue2", + "value_type": "int" + }, + { + "name": "Reward faction override 2", + "db_column_name": "RewardFactionOverride2", + "value_type": "int" + }, + { + "name": "Reward faction id 3", + "db_column_name": "RewardFactionID3", + "value_type": "FactionParameter" + }, + { + "name": "Reward faction value 3", + "db_column_name": "RewardFactionValue3", + "value_type": "int" + }, + { + "name": "Reward faction override 3", + "db_column_name": "RewardFactionOverride3", + "value_type": "int" + }, + { + "name": "Reward faction id 4", + "db_column_name": "RewardFactionID4", + "value_type": "FactionParameter" + }, + { + "name": "Reward faction value 4", + "db_column_name": "RewardFactionValue4", + "value_type": "int" + }, + { + "name": "Reward faction override 4", + "db_column_name": "RewardFactionOverride4", + "value_type": "int" + }, + { + "name": "Reward faction id 5", + "db_column_name": "RewardFactionID5", + "value_type": "FactionParameter" + }, + { + "name": "Reward faction value 5", + "db_column_name": "RewardFactionValue5", + "value_type": "int" + }, + { + "name": "Reward faction override 5", + "db_column_name": "RewardFactionOverride5", + "value_type": "int" + }, + { + "name": "Reward mail template ID", + "db_column_name": "RewardMailTemplateID", + "foreign_table": "quest_template_addon", + "value_type": "uint", + "help": "If the quest gives as a reward an item from a possible list of items, the ID here corresponds to the proper loot template in quest_mail_loot_template. According to the rules in that loot template, items \"looted\" will be sent by mail at the completion of the quest." + }, + { + "name": "Reward mail delay (seconds)", + "db_column_name": "RewardMailDelay", + "foreign_table": "quest_template_addon", + "value_type": "uint", + "help": "How many seconds to wait until the mail is sent to the character that turned in a quest rewarding items from a loot template defined in RewardMailTemplateId" + } + ] + }, + { + "group_name": "Items dropping", + "fields": [ + { + "name": "Item drop 1", + "db_column_name": "ItemDrop1", + "value_type": "ItemParameter" + }, + { + "name": "Item drop quantity 1", + "db_column_name": "ItemDropQuantity1", + "value_type": "uint" + }, + { + "name": "Item drop 2", + "db_column_name": "ItemDrop2", + "value_type": "ItemParameter" + }, + { + "name": "Item drop quantity 2", + "db_column_name": "ItemDropQuantity2", + "value_type": "uint" + }, + { + "name": "Item drop 3", + "db_column_name": "ItemDrop3", + "value_type": "ItemParameter" + }, + { + "name": "Item drop quantity 3", + "db_column_name": "ItemDropQuantity3", + "value_type": "uint" + }, + { + "name": "Item drop 4", + "db_column_name": "ItemDrop4", + "value_type": "ItemParameter" + }, + { + "name": "Item drop quantity 4", + "db_column_name": "ItemDropQuantity4", + "value_type": "uint" + } + ] + }, + { + "group_name": "POI", + "fields": [ + + { + "name": "POI Continent", + "db_column_name": "POIContinent", + "value_type": "uint", + "help": "MapId of a quest point of interest (POI - Point Of Interest). POI will be shown on the map when quest is active." + }, + { + "name": "POI x coord", + "db_column_name": "POIx", + "value_type": "float" + }, + { + "name": "POI y coord", + "db_column_name": "POIy", + "value_type": "float" + }, + { + "name": "POI priority", + "db_column_name": "POIPriority", + "value_type": "uint" + } + ] + } + ] +} \ No newline at end of file