2025-03-29 01:17:19 +00:00
-- MySQL dump 10.13 Distrib 8.0.41, for Linux (x86_64)
2014-07-28 23:22:53 +01:00
--
2020-06-17 17:09:48 +00:00
-- Host: localhost Database: world
2014-07-28 23:22:53 +01:00
-- ------------------------------------------------------
2025-03-29 01:17:19 +00:00
-- Server version 8.0.41-0ubuntu0.22.04.1
2014-07-28 23:22:53 +01:00
/* !40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */ ;
/* !40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */ ;
/* !40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET NAMES utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
/* !40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */ ;
/* !40103 SET TIME_ZONE='+00:00' */ ;
/* !40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */ ;
/* !40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */ ;
/* !40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ ;
/* !40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */ ;
--
-- Table structure for table `access_requirement`
--
DROP TABLE IF EXISTS ` access_requirement ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` access_requirement ` (
2022-01-02 21:29:31 +00:00
` mapId ` int unsigned NOT NULL ,
` difficulty ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` level_min ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` level_max ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` item2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quest_done_A ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quest_done_H ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` completed_achievement ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` quest_failed_text ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` comment ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` mapId ` , ` difficulty ` )
2022-01-02 21:29:31 +00:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC COMMENT = ' Access Requirements ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `achievement_dbc`
--
DROP TABLE IF EXISTS ` achievement_dbc ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` achievement_dbc ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL ,
` requiredFaction ` int NOT NULL DEFAULT ' -1 ' ,
` mapID ` int NOT NULL DEFAULT ' -1 ' ,
` points ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` count ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` refAchievement ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `achievement_reward`
--
DROP TABLE IF EXISTS ` achievement_reward ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` achievement_reward ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` TitleA ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` TitleH ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Sender ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Subject ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
` Body ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` MailTemplateID ` int unsigned DEFAULT ' 0 ' ,
2019-07-15 16:14:05 +02:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = FIXED COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2019-07-15 16:14:05 +02:00
--
-- Table structure for table `achievement_reward_locale`
--
DROP TABLE IF EXISTS ` achievement_reward_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2019-07-15 16:14:05 +02:00
CREATE TABLE ` achievement_reward_locale ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Subject ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` Body ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2019-07-15 16:14:05 +02:00
PRIMARY KEY ( ` ID ` , ` Locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2019-07-15 16:14:05 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-03-06 15:20:27 +00:00
--
-- Table structure for table `achievement_scripts`
--
DROP TABLE IF EXISTS ` achievement_scripts ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` achievement_scripts ` (
` AchievementId ` int NOT NULL ,
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
PRIMARY KEY ( ` AchievementId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-07-04 22:30:16 +00:00
--
-- Table structure for table `areatrigger`
--
DROP TABLE IF EXISTS ` areatrigger ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-07-04 22:30:16 +00:00
CREATE TABLE ` areatrigger ` (
2022-01-02 21:29:31 +00:00
` SpawnId ` bigint unsigned NOT NULL ,
2024-02-08 01:00:58 +00:00
` AreaTriggerCreatePropertiesId ` int unsigned NOT NULL ,
` IsCustom ` tinyint unsigned NOT NULL ,
2022-01-02 21:29:31 +00:00
` MapId ` int unsigned NOT NULL ,
2023-10-06 00:48:59 +00:00
` SpawnDifficulties ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
` PosX ` float NOT NULL ,
` PosY ` float NOT NULL ,
` PosZ ` float NOT NULL ,
` Orientation ` float NOT NULL ,
2022-01-02 21:29:31 +00:00
` PhaseUseFlags ` tinyint unsigned DEFAULT ' 0 ' ,
` PhaseId ` int unsigned DEFAULT ' 0 ' ,
` PhaseGroup ` int unsigned DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2023-10-06 00:48:59 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
PRIMARY KEY ( ` SpawnId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-07-04 22:30:16 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-10-15 10:18:03 +00:00
--
-- Table structure for table `areatrigger_create_properties`
--
DROP TABLE IF EXISTS ` areatrigger_create_properties ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-10-15 10:18:03 +00:00
CREATE TABLE ` areatrigger_create_properties ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
2024-02-08 01:00:58 +00:00
` IsCustom ` tinyint unsigned NOT NULL ,
2022-01-02 21:29:31 +00:00
` AreaTriggerId ` int unsigned NOT NULL ,
2024-02-08 01:00:58 +00:00
` IsAreatriggerCustom ` tinyint unsigned NOT NULL ,
` Flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` MoveCurveId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ScaleCurveId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` MorphCurveId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` FacingCurveId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AnimId ` int NOT NULL DEFAULT ' -1 ' ,
` AnimKitId ` int NOT NULL DEFAULT ' 0 ' ,
` DecalPropertiesId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` SpellForVisuals ` int DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` TimeToTargetScale ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2025-03-29 01:17:19 +00:00
` Speed ` float NOT NULL DEFAULT ' 1 ' ,
2022-01-02 21:29:31 +00:00
` Shape ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2021-10-15 10:18:03 +00:00
` ShapeData0 ` float NOT NULL DEFAULT ' 0 ' ,
` ShapeData1 ` float NOT NULL DEFAULT ' 0 ' ,
` ShapeData2 ` float NOT NULL DEFAULT ' 0 ' ,
` ShapeData3 ` float NOT NULL DEFAULT ' 0 ' ,
` ShapeData4 ` float NOT NULL DEFAULT ' 0 ' ,
` ShapeData5 ` float NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` ShapeData6 ` float NOT NULL DEFAULT ' 0 ' ,
` ShapeData7 ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
PRIMARY KEY ( ` Id ` , ` IsCustom ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-10-15 10:18:03 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `areatrigger_create_properties_orbit`
--
DROP TABLE IF EXISTS ` areatrigger_create_properties_orbit ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-10-15 10:18:03 +00:00
CREATE TABLE ` areatrigger_create_properties_orbit ` (
2022-01-02 21:29:31 +00:00
` AreaTriggerCreatePropertiesId ` int unsigned NOT NULL ,
2024-02-08 01:00:58 +00:00
` IsCustom ` tinyint unsigned NOT NULL ,
2022-01-02 21:29:31 +00:00
` StartDelay ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2021-10-15 10:18:03 +00:00
` CircleRadius ` float NOT NULL DEFAULT ' 0 ' ,
` BlendFromRadius ` float NOT NULL DEFAULT ' 0 ' ,
` InitialAngle ` float NOT NULL DEFAULT ' 0 ' ,
` ZOffset ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` CounterClockwise ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` CanLoop ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
PRIMARY KEY ( ` AreaTriggerCreatePropertiesId ` , ` IsCustom ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-10-15 10:18:03 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `areatrigger_create_properties_polygon_vertex`
--
DROP TABLE IF EXISTS ` areatrigger_create_properties_polygon_vertex ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-10-15 10:18:03 +00:00
CREATE TABLE ` areatrigger_create_properties_polygon_vertex ` (
2022-01-02 21:29:31 +00:00
` AreaTriggerCreatePropertiesId ` int unsigned NOT NULL ,
2024-02-08 01:00:58 +00:00
` IsCustom ` tinyint unsigned NOT NULL ,
2022-01-02 21:29:31 +00:00
` Idx ` int unsigned NOT NULL ,
2021-10-15 10:18:03 +00:00
` VerticeX ` float NOT NULL DEFAULT ' 0 ' ,
` VerticeY ` float NOT NULL DEFAULT ' 0 ' ,
` VerticeTargetX ` float DEFAULT NULL ,
` VerticeTargetY ` float DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
PRIMARY KEY ( ` AreaTriggerCreatePropertiesId ` , ` IsCustom ` , ` Idx ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-10-15 10:18:03 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `areatrigger_create_properties_spline_point`
--
DROP TABLE IF EXISTS ` areatrigger_create_properties_spline_point ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-10-15 10:18:03 +00:00
CREATE TABLE ` areatrigger_create_properties_spline_point ` (
2022-01-02 21:29:31 +00:00
` AreaTriggerCreatePropertiesId ` int unsigned NOT NULL ,
2024-02-08 01:00:58 +00:00
` IsCustom ` tinyint unsigned NOT NULL ,
2022-01-02 21:29:31 +00:00
` Idx ` int unsigned NOT NULL ,
2021-10-15 10:18:03 +00:00
` X ` float NOT NULL DEFAULT ' 0 ' ,
` Y ` float NOT NULL DEFAULT ' 0 ' ,
` Z ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
PRIMARY KEY ( ` AreaTriggerCreatePropertiesId ` , ` IsCustom ` , ` Idx ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-10-15 10:18:03 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `areatrigger_involvedrelation`
--
DROP TABLE IF EXISTS ` areatrigger_involvedrelation ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` areatrigger_involvedrelation ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Identifier ' ,
` quest ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Quest Identifier ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Trigger System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `areatrigger_scripts`
--
DROP TABLE IF EXISTS ` areatrigger_scripts ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` areatrigger_scripts ` (
2022-01-02 21:29:31 +00:00
` entry ` int NOT NULL ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `areatrigger_tavern`
--
DROP TABLE IF EXISTS ` areatrigger_tavern ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` areatrigger_tavern ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Identifier ' ,
2022-01-15 23:33:52 +00:00
` name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Trigger System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `areatrigger_teleport`
--
DROP TABLE IF EXISTS ` areatrigger_teleport ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` areatrigger_teleport ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` PortLocID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` ) ,
FULLTEXT KEY ` name ` ( ` Name ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Trigger System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2017-04-19 00:25:43 +01:00
--
-- Table structure for table `areatrigger_template`
--
DROP TABLE IF EXISTS ` areatrigger_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` areatrigger_template ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
2024-02-08 01:00:58 +00:00
` IsCustom ` tinyint unsigned NOT NULL ,
2022-01-02 21:29:31 +00:00
` Flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ActionSetId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ActionSetFlags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
PRIMARY KEY ( ` Id ` , ` IsCustom ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `areatrigger_template_actions`
--
DROP TABLE IF EXISTS ` areatrigger_template_actions ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` areatrigger_template_actions ` (
2022-01-02 21:29:31 +00:00
` AreaTriggerId ` int unsigned NOT NULL ,
2024-02-08 01:00:58 +00:00
` IsCustom ` tinyint unsigned NOT NULL ,
2022-01-02 21:29:31 +00:00
` ActionType ` int unsigned NOT NULL ,
` ActionParam ` int unsigned NOT NULL ,
` TargetType ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
PRIMARY KEY ( ` AreaTriggerId ` , ` IsCustom ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-11-08 01:36:49 +01:00
--
-- Table structure for table `battle_pet_breeds`
--
DROP TABLE IF EXISTS ` battle_pet_breeds ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-11-08 01:36:49 +01:00
CREATE TABLE ` battle_pet_breeds ` (
2022-01-02 21:29:31 +00:00
` speciesId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` breedId ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2015-11-08 01:36:49 +01:00
PRIMARY KEY ( ` speciesId ` , ` breedId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-11-08 01:36:49 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `battle_pet_quality`
--
DROP TABLE IF EXISTS ` battle_pet_quality ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-11-08 01:36:49 +01:00
CREATE TABLE ` battle_pet_quality ` (
2022-01-02 21:29:31 +00:00
` speciesId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quality ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2015-11-08 01:36:49 +01:00
PRIMARY KEY ( ` speciesId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-11-08 01:36:49 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-01-15 23:33:52 +00:00
--
-- Table structure for table `battlefield_template`
--
DROP TABLE IF EXISTS ` battlefield_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` battlefield_template ` (
` TypeId ` tinyint unsigned NOT NULL ,
2022-03-06 15:20:27 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` comment ` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-15 23:33:52 +00:00
PRIMARY KEY ( ` TypeId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2024-05-11 03:11:14 +00:00
--
-- Table structure for table `battleground_scripts`
--
DROP TABLE IF EXISTS ` battleground_scripts ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` battleground_scripts ` (
` MapId ` int NOT NULL ,
` BattlemasterListId ` int NOT NULL DEFAULT ' 0 ' ,
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` MapId ` , ` BattlemasterListId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `battleground_template`
--
DROP TABLE IF EXISTS ` battleground_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` battleground_template ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AllianceStartLoc ` int unsigned NOT NULL ,
` HordeStartLoc ` int unsigned NOT NULL ,
2020-06-17 17:09:48 +00:00
` StartMaxDist ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Weight ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` Comment ` varchar ( 32 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `battlemaster_entry`
--
DROP TABLE IF EXISTS ` battlemaster_entry ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` battlemaster_entry ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Entry of a creature ' ,
` bg_template ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Battleground template id ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2016-10-16 17:38:56 +01:00
--
-- Table structure for table `blackmarket_template`
--
DROP TABLE IF EXISTS ` blackmarket_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2016-10-16 17:38:56 +01:00
CREATE TABLE ` blackmarket_template ` (
2022-01-02 21:29:31 +00:00
` marketId ` int NOT NULL DEFAULT ' 0 ' ,
` sellerNpc ` int NOT NULL DEFAULT ' 0 ' ,
` itemEntry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quantity ` int NOT NULL DEFAULT ' 1 ' ,
` minBid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` duration ` int NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` chance ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` bonusListIDs ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2016-10-16 17:38:56 +01:00
PRIMARY KEY ( ` marketId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2016-10-16 17:38:56 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2017-04-19 00:25:43 +01:00
--
-- Table structure for table `character_template`
--
DROP TABLE IF EXISTS ` character_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` character_template ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` Name ` varchar ( 70 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Description ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` Level ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` Id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `character_template_class`
--
DROP TABLE IF EXISTS ` character_template_class ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` character_template_class ` (
2022-01-02 21:29:31 +00:00
` TemplateId ` int unsigned NOT NULL ,
` FactionGroup ` tinyint unsigned NOT NULL COMMENT ' 3 - Alliance, 5 - Horde ' ,
` Class ` tinyint unsigned NOT NULL ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` TemplateId ` , ` FactionGroup ` , ` Class ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
2015-03-21 17:09:25 +00:00
-- Table structure for table `class_expansion_requirement`
2014-07-28 23:22:53 +01:00
--
2015-03-21 17:09:25 +00:00
DROP TABLE IF EXISTS ` class_expansion_requirement ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` class_expansion_requirement ` (
2022-01-02 21:29:31 +00:00
` ClassID ` tinyint unsigned NOT NULL ,
` RaceID ` tinyint unsigned NOT NULL ,
` ActiveExpansionLevel ` tinyint unsigned DEFAULT ' 0 ' ,
` AccountExpansionLevel ` tinyint unsigned DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
PRIMARY KEY ( ` ClassID ` , ` RaceID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `command`
--
DROP TABLE IF EXISTS ` command ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` command ` (
2022-01-15 23:33:52 +00:00
` name ` varchar ( 50 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` help ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` name ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Chat System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `conditions`
--
DROP TABLE IF EXISTS ` conditions ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` conditions ` (
2022-01-02 21:29:31 +00:00
` SourceTypeOrReferenceId ` int NOT NULL DEFAULT ' 0 ' ,
` SourceGroup ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SourceEntry ` int NOT NULL DEFAULT ' 0 ' ,
` SourceId ` int NOT NULL DEFAULT ' 0 ' ,
` ElseGroup ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ConditionTypeOrReference ` int NOT NULL DEFAULT ' 0 ' ,
` ConditionTarget ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` ConditionValue1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ConditionValue2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ConditionValue3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
` ConditionStringValue1 ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2022-01-02 21:29:31 +00:00
` NegativeCondition ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` ErrorType ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ErrorTextId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-02-08 01:00:58 +00:00
PRIMARY KEY ( ` SourceTypeOrReferenceId ` , ` SourceGroup ` , ` SourceEntry ` , ` SourceId ` , ` ElseGroup ` , ` ConditionTypeOrReference ` , ` ConditionTarget ` , ` ConditionValue1 ` , ` ConditionValue2 ` , ` ConditionValue3 ` , ` ConditionStringValue1 ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Condition System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2018-02-19 22:48:54 +00:00
--
-- Table structure for table `conversation_actors`
--
DROP TABLE IF EXISTS ` conversation_actors ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` conversation_actors ` (
2022-01-02 21:29:31 +00:00
` ConversationId ` int unsigned NOT NULL ,
` ConversationActorId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ConversationActorGuid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` Idx ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` CreatureId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` CreatureDisplayInfoId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-07-25 18:51:32 +00:00
` NoActorObject ` tinyint unsigned DEFAULT ' 0 ' ,
` ActivePlayerObject ` tinyint unsigned DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ConversationId ` , ` Idx ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `conversation_line_template`
--
DROP TABLE IF EXISTS ` conversation_line_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` conversation_line_template ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
` UiCameraID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ActorIdx ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` Flags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2023-07-14 08:35:02 +00:00
` ChatType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` Id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `conversation_template`
--
DROP TABLE IF EXISTS ` conversation_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` conversation_template ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
` FirstLineId ` int unsigned NOT NULL ,
` TextureKitId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
` Flags ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` Id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `creature`
--
DROP TABLE IF EXISTS ` creature ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature ` (
2022-01-02 21:29:31 +00:00
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Creature Identifier ' ,
` map ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Map Identifier ' ,
` zoneId ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Zone Identifier ' ,
` areaId ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Area Identifier ' ,
2022-01-15 23:33:52 +00:00
` spawnDifficulties ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` phaseUseFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` PhaseId ` int DEFAULT ' 0 ' ,
` PhaseGroup ` int DEFAULT ' 0 ' ,
` terrainSwapMap ` int NOT NULL DEFAULT ' -1 ' ,
` modelid ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` equipment_id ` tinyint NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` position_x ` float NOT NULL DEFAULT ' 0 ' ,
` position_y ` float NOT NULL DEFAULT ' 0 ' ,
` position_z ` float NOT NULL DEFAULT ' 0 ' ,
` orientation ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` spawntimesecs ` int unsigned NOT NULL DEFAULT ' 120 ' ,
` wander_distance ` float NOT NULL DEFAULT ' 0 ' ,
` currentwaypoint ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-05-11 03:11:14 +00:00
` curHealthPct ` int unsigned NOT NULL DEFAULT ' 100 ' ,
2022-01-02 21:29:31 +00:00
` MovementType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2023-10-06 00:48:59 +00:00
` npcflag ` bigint unsigned DEFAULT NULL ,
` unit_flags ` int unsigned DEFAULT NULL ,
` unit_flags2 ` int unsigned DEFAULT NULL ,
` unit_flags3 ` int unsigned DEFAULT NULL ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2023-02-03 01:20:41 +00:00
` StringId ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` ) ,
KEY ` idx_map ` ( ` map ` ) ,
KEY ` idx_id ` ( ` id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Creature System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_addon`
--
DROP TABLE IF EXISTS ` creature_addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_addon ` (
2022-01-02 21:29:31 +00:00
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
` PathId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` mount ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-07-25 18:51:32 +00:00
` MountCreatureID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2023-02-03 01:20:41 +00:00
` StandState ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` AnimTier ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VisFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` SheathState ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` PvPFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` emote ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` aiAnimKit ` smallint NOT NULL DEFAULT ' 0 ' ,
` movementAnimKit ` smallint NOT NULL DEFAULT ' 0 ' ,
` meleeAnimKit ` smallint NOT NULL DEFAULT ' 0 ' ,
` visibilityDistanceType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` auras ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_classlevelstats`
--
DROP TABLE IF EXISTS ` creature_classlevelstats ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_classlevelstats ` (
2022-01-02 21:29:31 +00:00
` level ` tinyint NOT NULL ,
` class ` tinyint NOT NULL ,
` basemana ` int unsigned NOT NULL DEFAULT ' 1 ' ,
` attackpower ` smallint NOT NULL DEFAULT ' 0 ' ,
` rangedattackpower ` smallint NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` comment ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` level ` , ` class ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_equip_template`
--
DROP TABLE IF EXISTS ` creature_equip_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_equip_template ` (
2022-01-02 21:29:31 +00:00
` CreatureID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ID ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` ItemID1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AppearanceModID1 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemVisual1 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemID2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AppearanceModID2 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemVisual2 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemID3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AppearanceModID3 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemVisual3 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` CreatureID ` , ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_formations`
--
DROP TABLE IF EXISTS ` creature_formations ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_formations ` (
2022-01-02 21:29:31 +00:00
` leaderGUID ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` memberGUID ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` dist ` float NOT NULL ,
` angle ` float NOT NULL ,
` groupAI ` int unsigned NOT NULL ,
` point_1 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` point_2 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` memberGUID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2024-02-08 01:00:58 +00:00
--
-- Table structure for table `creature_immunities`
--
DROP TABLE IF EXISTS ` creature_immunities ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_immunities ` (
` ID ` int NOT NULL ,
` SchoolMask ` tinyint NOT NULL DEFAULT ' 0 ' ,
` DispelTypeMask ` smallint NOT NULL DEFAULT ' 0 ' ,
` MechanicsMask ` bigint NOT NULL DEFAULT ' 0 ' ,
` Effects ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Auras ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` ImmuneAoE ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` ImmuneChain ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` Comment ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
PRIMARY KEY ( ` ID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `creature_loot_template`
--
DROP TABLE IF EXISTS ` creature_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_model_info`
--
DROP TABLE IF EXISTS ` creature_model_info ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_model_info ` (
2022-01-02 21:29:31 +00:00
` DisplayID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` BoundingRadius ` float NOT NULL DEFAULT ' 0 ' ,
` CombatReach ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` DisplayID_Other_Gender ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` DisplayID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Creature System (Model related info) ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-07-25 18:51:32 +00:00
--
-- Table structure for table `creature_movement_info`
--
DROP TABLE IF EXISTS ` creature_movement_info ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_movement_info ` (
` MovementID ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' creature_template.movementId value ' ,
` WalkSpeed ` float DEFAULT NULL ,
` RunSpeed ` float DEFAULT NULL ,
PRIMARY KEY ( ` MovementID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-10-15 10:18:03 +00:00
--
-- Table structure for table `creature_movement_override`
--
DROP TABLE IF EXISTS ` creature_movement_override ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-10-15 10:18:03 +00:00
CREATE TABLE ` creature_movement_override ` (
2022-01-02 21:29:31 +00:00
` SpawnId ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
2024-05-11 03:11:14 +00:00
` HoverInitiallyEnabled ` tinyint unsigned DEFAULT NULL ,
2022-03-06 15:20:27 +00:00
` Chase ` tinyint unsigned DEFAULT NULL ,
` Random ` tinyint unsigned DEFAULT NULL ,
` InteractionPauseTimer ` int unsigned DEFAULT NULL COMMENT ' Time (in milliseconds) during which creature will not move after interaction with player ' ,
2021-10-15 10:18:03 +00:00
PRIMARY KEY ( ` SpawnId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-10-15 10:18:03 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `creature_onkill_reputation`
--
DROP TABLE IF EXISTS ` creature_onkill_reputation ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_onkill_reputation ` (
2022-01-02 21:29:31 +00:00
` creature_id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Creature Identifier ' ,
` RewOnKillRepFaction1 ` smallint NOT NULL DEFAULT ' 0 ' ,
` RewOnKillRepFaction2 ` smallint NOT NULL DEFAULT ' 0 ' ,
` MaxStanding1 ` tinyint NOT NULL DEFAULT ' 0 ' ,
` IsTeamAward1 ` tinyint NOT NULL DEFAULT ' 0 ' ,
` RewOnKillRepValue1 ` int NOT NULL DEFAULT ' 0 ' ,
` MaxStanding2 ` tinyint NOT NULL DEFAULT ' 0 ' ,
` IsTeamAward2 ` tinyint NOT NULL DEFAULT ' 0 ' ,
` RewOnKillRepValue2 ` int NOT NULL DEFAULT ' 0 ' ,
` TeamDependent ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` creature_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Creature OnKill Reputation gain ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2024-02-08 01:00:58 +00:00
--
-- Table structure for table `creature_quest_currency`
--
DROP TABLE IF EXISTS ` creature_quest_currency ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_quest_currency ` (
` CreatureId ` int unsigned NOT NULL ,
` CurrencyId ` int NOT NULL ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` CreatureId ` , ` CurrencyId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `creature_questender`
--
DROP TABLE IF EXISTS ` creature_questender ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_questender ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Identifier ' ,
` quest ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Quest Identifier ' ,
2022-07-25 18:51:32 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` , ` quest ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Creature System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `creature_questitem`
--
DROP TABLE IF EXISTS ` creature_questitem ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` creature_questitem ` (
2022-01-02 21:29:31 +00:00
` CreatureEntry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2023-07-14 08:35:02 +00:00
` DifficultyID ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Idx ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2023-07-14 08:35:02 +00:00
PRIMARY KEY ( ` CreatureEntry ` , ` DifficultyID ` , ` Idx ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `creature_queststarter`
--
DROP TABLE IF EXISTS ` creature_queststarter ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_queststarter ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Identifier ' ,
` quest ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Quest Identifier ' ,
2022-07-25 18:51:32 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` , ` quest ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Creature System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2024-05-11 03:11:14 +00:00
--
-- Table structure for table `creature_static_flags_override`
--
DROP TABLE IF EXISTS ` creature_static_flags_override ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_static_flags_override ` (
` SpawnId ` bigint unsigned NOT NULL ,
` DifficultyId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags1 ` int unsigned DEFAULT NULL ,
` StaticFlags2 ` int unsigned DEFAULT NULL ,
` StaticFlags3 ` int unsigned DEFAULT NULL ,
` StaticFlags4 ` int unsigned DEFAULT NULL ,
` StaticFlags5 ` int unsigned DEFAULT NULL ,
` StaticFlags6 ` int unsigned DEFAULT NULL ,
` StaticFlags7 ` int unsigned DEFAULT NULL ,
` StaticFlags8 ` int unsigned DEFAULT NULL ,
PRIMARY KEY ( ` SpawnId ` , ` DifficultyId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `creature_summon_groups`
--
DROP TABLE IF EXISTS ` creature_summon_groups ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_summon_groups ` (
2022-01-02 21:29:31 +00:00
` summonerId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` summonerType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` groupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` position_x ` float NOT NULL DEFAULT ' 0 ' ,
` position_y ` float NOT NULL DEFAULT ' 0 ' ,
` position_z ` float NOT NULL DEFAULT ' 0 ' ,
` orientation ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` summonType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` summonTime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' '
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-07-25 18:51:32 +00:00
--
-- Table structure for table `creature_summoned_data`
--
DROP TABLE IF EXISTS ` creature_summoned_data ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_summoned_data ` (
` CreatureID ` int unsigned NOT NULL ,
` CreatureIDVisibleToSummoner ` int DEFAULT NULL ,
` GroundMountDisplayID ` int unsigned DEFAULT NULL ,
` FlyingMountDisplayID ` int unsigned DEFAULT NULL ,
2024-02-08 01:00:58 +00:00
` DespawnOnQuestsRemoved ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-07-25 18:51:32 +00:00
PRIMARY KEY ( ` CreatureID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `creature_template`
--
DROP TABLE IF EXISTS ` creature_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_template ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` KillCredit1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` KillCredit2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` femaleName ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` subname ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` TitleAlt ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` IconName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` RequiredExpansion ` int NOT NULL DEFAULT ' 0 ' ,
` VignetteID ` int NOT NULL DEFAULT ' 0 ' ,
` faction ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` npcflag ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` speed_walk ` float NOT NULL DEFAULT ' 1 ' COMMENT ' Result of 2.5/2.5, most common value ' ,
` speed_run ` float NOT NULL DEFAULT ' 1.14286 ' COMMENT ' Result of 8.0/7.0, most common value ' ,
` scale ` float NOT NULL DEFAULT ' 1 ' ,
2024-02-08 01:00:58 +00:00
` Classification ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` dmgschool ` tinyint NOT NULL DEFAULT ' 0 ' ,
` BaseAttackTime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RangeAttackTime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` BaseVariance ` float NOT NULL DEFAULT ' 1 ' ,
` RangeVariance ` float NOT NULL DEFAULT ' 1 ' ,
2022-01-02 21:29:31 +00:00
` unit_class ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` unit_flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` unit_flags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` unit_flags3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` family ` int NOT NULL DEFAULT ' 0 ' ,
` trainer_class ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VehicleId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` AIName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2022-01-02 21:29:31 +00:00
` MovementType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` ExperienceModifier ` float NOT NULL DEFAULT ' 1 ' ,
2022-01-02 21:29:31 +00:00
` RacialLeader ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` movementId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` WidgetSetID ` int NOT NULL DEFAULT ' 0 ' ,
` WidgetSetUnitConditionID ` int NOT NULL DEFAULT ' 0 ' ,
` RegenHealth ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2024-02-08 01:00:58 +00:00
` CreatureImmunitiesId ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` flags_extra ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2023-02-03 01:20:41 +00:00
` StringId ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2019-07-15 16:14:05 +02:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Creature System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_template_addon`
--
DROP TABLE IF EXISTS ` creature_template_addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_template_addon ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
` PathId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` mount ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-07-25 18:51:32 +00:00
` MountCreatureID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2023-02-03 01:20:41 +00:00
` StandState ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` AnimTier ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VisFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` SheathState ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` PvPFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` emote ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` aiAnimKit ` smallint NOT NULL DEFAULT ' 0 ' ,
` movementAnimKit ` smallint NOT NULL DEFAULT ' 0 ' ,
` meleeAnimKit ` smallint NOT NULL DEFAULT ' 0 ' ,
` visibilityDistanceType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` auras ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2023-07-14 08:35:02 +00:00
--
-- Table structure for table `creature_template_difficulty`
--
DROP TABLE IF EXISTS ` creature_template_difficulty ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_template_difficulty ` (
` Entry ` int unsigned NOT NULL ,
` DifficultyID ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` LevelScalingDeltaMin ` smallint NOT NULL DEFAULT ' 0 ' ,
` LevelScalingDeltaMax ` smallint NOT NULL DEFAULT ' 0 ' ,
` ContentTuningID ` int NOT NULL DEFAULT ' 0 ' ,
` HealthScalingExpansion ` int NOT NULL DEFAULT ' 0 ' ,
` HealthModifier ` float NOT NULL DEFAULT ' 1 ' ,
` ManaModifier ` float NOT NULL DEFAULT ' 1 ' ,
` ArmorModifier ` float NOT NULL DEFAULT ' 1 ' ,
` DamageModifier ` float NOT NULL DEFAULT ' 1 ' ,
` CreatureDifficultyID ` int NOT NULL DEFAULT ' 0 ' ,
` TypeFlags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` TypeFlags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` LootID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` PickPocketLootID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SkinLootID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` GoldMin ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` GoldMax ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags6 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags7 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StaticFlags8 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` Entry ` , ` DifficultyID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_template_gossip`
--
DROP TABLE IF EXISTS ` creature_template_gossip ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_template_gossip ` (
` CreatureID ` int unsigned NOT NULL ,
` MenuID ` int unsigned NOT NULL ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` CreatureID ` , ` MenuID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-11-08 01:36:49 +01:00
--
-- Table structure for table `creature_template_locale`
--
DROP TABLE IF EXISTS ` creature_template_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-11-08 01:36:49 +01:00
CREATE TABLE ` creature_template_locale ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` NameAlt ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` Title ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` TitleAlt ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-11-08 01:36:49 +01:00
PRIMARY KEY ( ` entry ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-11-08 01:36:49 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2019-07-15 16:14:05 +02:00
--
-- Table structure for table `creature_template_model`
--
DROP TABLE IF EXISTS ` creature_template_model ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2019-07-15 16:14:05 +02:00
CREATE TABLE ` creature_template_model ` (
2022-01-02 21:29:31 +00:00
` CreatureID ` int unsigned NOT NULL ,
` Idx ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` CreatureDisplayID ` int unsigned NOT NULL ,
2020-06-17 17:09:48 +00:00
` DisplayScale ` float NOT NULL DEFAULT ' 1 ' ,
` Probability ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2019-07-15 16:14:05 +02:00
PRIMARY KEY ( ` CreatureID ` , ` Idx ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2019-07-15 16:14:05 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-10-15 10:18:03 +00:00
--
-- Table structure for table `creature_template_movement`
--
DROP TABLE IF EXISTS ` creature_template_movement ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-10-15 10:18:03 +00:00
CREATE TABLE ` creature_template_movement ` (
2022-01-02 21:29:31 +00:00
` CreatureId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-05-11 03:11:14 +00:00
` HoverInitiallyEnabled ` tinyint unsigned DEFAULT NULL ,
2022-03-06 15:20:27 +00:00
` Chase ` tinyint unsigned DEFAULT NULL ,
` Random ` tinyint unsigned DEFAULT NULL ,
` InteractionPauseTimer ` int unsigned DEFAULT NULL COMMENT ' Time (in milliseconds) during which creature will not move after interaction with player ' ,
2021-10-15 10:18:03 +00:00
PRIMARY KEY ( ` CreatureId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_template_resistance`
--
DROP TABLE IF EXISTS ` creature_template_resistance ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_template_resistance ` (
` CreatureID ` int unsigned NOT NULL ,
` School ` tinyint unsigned NOT NULL ,
` Resistance ` smallint NOT NULL ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` CreatureID ` , ` School ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-10-15 10:18:03 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2018-02-19 22:48:54 +00:00
--
2023-07-14 08:35:02 +00:00
-- Table structure for table `creature_template_sparring`
2018-02-19 22:48:54 +00:00
--
2023-07-14 08:35:02 +00:00
DROP TABLE IF EXISTS ` creature_template_sparring ` ;
2018-02-19 22:48:54 +00:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2023-07-14 08:35:02 +00:00
CREATE TABLE ` creature_template_sparring ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL ,
2023-07-14 08:35:02 +00:00
` NoNPCDamageBelowHealthPct ` float NOT NULL ,
PRIMARY KEY ( ` Entry ` , ` NoNPCDamageBelowHealthPct ` )
) ENGINE = MyISAM DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2022-01-02 21:29:31 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_template_spell`
--
DROP TABLE IF EXISTS ` creature_template_spell ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` creature_template_spell ` (
` CreatureID ` int unsigned NOT NULL ,
` Index ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` Spell ` int unsigned NOT NULL ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` CreatureID ` , ` Index ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `creature_text`
--
DROP TABLE IF EXISTS ` creature_text ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` creature_text ` (
2022-01-02 21:29:31 +00:00
` CreatureID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` GroupID ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` ID ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Text ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` Type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` Language ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Probability ` float NOT NULL DEFAULT ' 0 ' ,
` Emote ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Duration ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Sound ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SoundPlayType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` BroadcastTextId ` int NOT NULL DEFAULT ' 0 ' ,
` TextRange ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT ' ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` CreatureID ` , ` GroupID ` , ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `creature_text_locale`
--
DROP TABLE IF EXISTS ` creature_text_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` creature_text_locale ` (
2022-01-02 21:29:31 +00:00
` CreatureID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` GroupID ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` ID ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Text ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-03-06 15:20:27 +00:00
PRIMARY KEY ( ` CreatureID ` , ` GroupID ` , ` ID ` , ` Locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2020-08-14 21:46:30 +00:00
--
-- Table structure for table `creature_trainer`
--
DROP TABLE IF EXISTS ` creature_trainer ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2020-08-14 21:46:30 +00:00
CREATE TABLE ` creature_trainer ` (
2022-03-06 15:20:27 +00:00
` CreatureID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` TrainerID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` MenuID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` OptionID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` CreatureID ` , ` MenuID ` , ` OptionID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2020-08-14 21:46:30 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2016-10-16 17:38:56 +01:00
--
-- Table structure for table `criteria_data`
--
DROP TABLE IF EXISTS ` criteria_data ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2016-10-16 17:38:56 +01:00
CREATE TABLE ` criteria_data ` (
2022-01-02 21:29:31 +00:00
` criteria_id ` int NOT NULL ,
` type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` value1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` value2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2016-10-16 17:38:56 +01:00
PRIMARY KEY ( ` criteria_id ` , ` type ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Achievment system ' ;
2016-10-16 17:38:56 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2024-05-11 03:11:14 +00:00
--
-- Table structure for table `destructible_hitpoint`
--
DROP TABLE IF EXISTS ` destructible_hitpoint ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` destructible_hitpoint ` (
` Id ` int unsigned NOT NULL ,
` IntactNumHits ` int unsigned NOT NULL ,
` DamagedNumHits ` int unsigned NOT NULL ,
PRIMARY KEY ( ` Id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' This table contains data about destructible building health ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `disables`
--
DROP TABLE IF EXISTS ` disables ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` disables ` (
2022-01-02 21:29:31 +00:00
` sourceType ` int unsigned NOT NULL ,
` entry ` int unsigned NOT NULL ,
` flags ` smallint NOT NULL ,
2022-01-15 23:33:52 +00:00
` params_0 ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` params_1 ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` sourceType ` , ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `disenchant_loot_template`
--
DROP TABLE IF EXISTS ` disenchant_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` disenchant_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2023-07-14 08:35:02 +00:00
--
-- Table structure for table `event_script_names`
--
DROP TABLE IF EXISTS ` event_script_names ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` event_script_names ` (
` Id ` int unsigned NOT NULL ,
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
PRIMARY KEY ( ` Id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `event_scripts`
--
DROP TABLE IF EXISTS ` event_scripts ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` event_scripts ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` delay ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` command ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` datalong ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` datalong2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` dataint ` int NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` x ` float NOT NULL DEFAULT ' 0 ' ,
` y ` float NOT NULL DEFAULT ' 0 ' ,
` z ` float NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` o ` float NOT NULL DEFAULT ' 0 ' ,
2022-07-25 18:51:32 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' '
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `exploration_basexp`
--
DROP TABLE IF EXISTS ` exploration_basexp ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` exploration_basexp ` (
2022-01-02 21:29:31 +00:00
` level ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` basexp ` int NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` level ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Exploration System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `fishing_loot_template`
--
DROP TABLE IF EXISTS ` fishing_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` fishing_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event`
--
DROP TABLE IF EXISTS ` game_event ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint unsigned NOT NULL COMMENT ' Entry of the game event ' ,
2018-02-19 22:48:54 +00:00
` start_time ` timestamp NULL DEFAULT NULL COMMENT ' Absolute start date, the event will never start before ' ,
` end_time ` timestamp NULL DEFAULT NULL COMMENT ' Absolute end date, the event will never start after ' ,
2022-01-02 21:29:31 +00:00
` occurence ` bigint unsigned NOT NULL DEFAULT ' 5184000 ' COMMENT ' Delay in minutes between occurences of the event ' ,
` length ` bigint unsigned NOT NULL DEFAULT ' 2592000 ' COMMENT ' Length in minutes of the event ' ,
` holiday ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Client side holiday id ' ,
` holidayStage ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT ' Description of the event displayed in console ' ,
2022-01-02 21:29:31 +00:00
` world_event ` tinyint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 0 if normal event, 1 if world event ' ,
` announce ` tinyint unsigned DEFAULT ' 2 ' COMMENT ' 0 dont announce, 1 announce, 2 value from config ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` eventEntry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_arena_seasons`
--
DROP TABLE IF EXISTS ` game_event_arena_seasons ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_arena_seasons ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint unsigned NOT NULL COMMENT ' Entry of the game event ' ,
` season ` tinyint unsigned NOT NULL COMMENT ' Arena season number ' ,
2014-07-28 23:22:53 +01:00
UNIQUE KEY ` season ` ( ` season ` , ` eventEntry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_condition`
--
DROP TABLE IF EXISTS ` game_event_condition ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_condition ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint unsigned NOT NULL COMMENT ' Entry of the game event ' ,
` condition_id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` req_num ` float DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` max_world_state_field ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` done_world_state_field ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` description ` varchar ( 25 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` eventEntry ` , ` condition_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_creature`
--
DROP TABLE IF EXISTS ` game_event_creature ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_creature ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint NOT NULL COMMENT ' Entry of the game event. Put negative entry to remove during event. ' ,
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` , ` eventEntry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_creature_quest`
--
DROP TABLE IF EXISTS ` game_event_creature_quest ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_creature_quest ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint unsigned NOT NULL COMMENT ' Entry of the game event. ' ,
` id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quest ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` , ` quest ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_gameobject`
--
DROP TABLE IF EXISTS ` game_event_gameobject ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_gameobject ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint NOT NULL COMMENT ' Entry of the game event. Put negative entry to remove during event. ' ,
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` , ` eventEntry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_gameobject_quest`
--
DROP TABLE IF EXISTS ` game_event_gameobject_quest ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_gameobject_quest ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint unsigned NOT NULL COMMENT ' Entry of the game event ' ,
` id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quest ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` , ` quest ` , ` eventEntry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_model_equip`
--
DROP TABLE IF EXISTS ` game_event_model_equip ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_model_equip ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint NOT NULL COMMENT ' Entry of the game event. ' ,
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` modelid ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` equipment_id ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_npc_vendor`
--
DROP TABLE IF EXISTS ` game_event_npc_vendor ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_npc_vendor ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint NOT NULL COMMENT ' Entry of the game event. ' ,
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` slot ` smallint NOT NULL DEFAULT ' 0 ' ,
` item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` maxcount ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` incrtime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ExtendedCost ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` type ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` BonusListIDs ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` PlayerConditionID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` IgnoreFiltering ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-09-21 17:07:20 +02:00
PRIMARY KEY ( ` guid ` , ` item ` , ` ExtendedCost ` , ` type ` ) ,
2014-07-28 23:22:53 +01:00
KEY ` slot ` ( ` slot ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_npcflag`
--
DROP TABLE IF EXISTS ` game_event_npcflag ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_npcflag ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint unsigned NOT NULL COMMENT ' Entry of the game event ' ,
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` npcflag ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` , ` eventEntry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_pool`
--
DROP TABLE IF EXISTS ` game_event_pool ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_pool ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint NOT NULL COMMENT ' Entry of the game event. Put negative entry to remove during event. ' ,
` pool_entry ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Id of the pool ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` pool_entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_prerequisite`
--
DROP TABLE IF EXISTS ` game_event_prerequisite ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_prerequisite ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint unsigned NOT NULL COMMENT ' Entry of the game event ' ,
` prerequisite_event ` int unsigned NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` eventEntry ` , ` prerequisite_event ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_quest_condition`
--
DROP TABLE IF EXISTS ` game_event_quest_condition ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_quest_condition ` (
2022-01-02 21:29:31 +00:00
` eventEntry ` tinyint unsigned NOT NULL COMMENT ' Entry of the game event. ' ,
` quest ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` condition_id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` num ` float DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` quest ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_event_seasonal_questrelation`
--
DROP TABLE IF EXISTS ` game_event_seasonal_questrelation ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_event_seasonal_questrelation ` (
2022-01-02 21:29:31 +00:00
` questId ` int unsigned NOT NULL COMMENT ' Quest Identifier ' ,
` eventEntry ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Entry of the game event ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` questId ` , ` eventEntry ` ) ,
KEY ` idx_quest ` ( ` questId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Player System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_tele`
--
DROP TABLE IF EXISTS ` game_tele ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_tele ` (
2022-07-25 18:51:32 +00:00
` id ` int unsigned NOT NULL AUTO_INCREMENT ,
2020-06-17 17:09:48 +00:00
` position_x ` float NOT NULL DEFAULT ' 0 ' ,
` position_y ` float NOT NULL DEFAULT ' 0 ' ,
` position_z ` float NOT NULL DEFAULT ' 0 ' ,
` orientation ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` map ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` name ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` )
2024-12-22 03:01:09 +00:00
) ENGINE = InnoDB AUTO_INCREMENT = 2189 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Tele Command ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `game_weather`
--
DROP TABLE IF EXISTS ` game_weather ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` game_weather ` (
2022-01-02 21:29:31 +00:00
` zone ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` spring_rain_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` spring_snow_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` spring_storm_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` summer_rain_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` summer_snow_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` summer_storm_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` fall_rain_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` fall_snow_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` fall_storm_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` winter_rain_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` winter_snow_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
` winter_storm_chance ` tinyint unsigned NOT NULL DEFAULT ' 25 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` zone ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Weather System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `gameobject`
--
DROP TABLE IF EXISTS ` gameobject ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` gameobject ` (
2022-01-02 21:29:31 +00:00
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Gameobject Identifier ' ,
` map ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Map Identifier ' ,
` zoneId ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Zone Identifier ' ,
` areaId ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Area Identifier ' ,
2022-01-15 23:33:52 +00:00
` spawnDifficulties ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` phaseUseFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` PhaseId ` int DEFAULT ' 0 ' ,
` PhaseGroup ` int DEFAULT ' 0 ' ,
` terrainSwapMap ` int NOT NULL DEFAULT ' -1 ' ,
2020-06-17 17:09:48 +00:00
` position_x ` float NOT NULL DEFAULT ' 0 ' ,
` position_y ` float NOT NULL DEFAULT ' 0 ' ,
` position_z ` float NOT NULL DEFAULT ' 0 ' ,
` orientation ` float NOT NULL DEFAULT ' 0 ' ,
` rotation0 ` float NOT NULL DEFAULT ' 0 ' ,
` rotation1 ` float NOT NULL DEFAULT ' 0 ' ,
` rotation2 ` float NOT NULL DEFAULT ' 0 ' ,
` rotation3 ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` spawntimesecs ` int NOT NULL DEFAULT ' 0 ' ,
` animprogress ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` state ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2023-11-15 01:03:38 +00:00
` StringId ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Gameobject System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `gameobject_addon`
--
DROP TABLE IF EXISTS ` gameobject_addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` gameobject_addon ` (
2022-01-02 21:29:31 +00:00
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` parent_rotation0 ` float NOT NULL DEFAULT ' 0 ' ,
` parent_rotation1 ` float NOT NULL DEFAULT ' 0 ' ,
` parent_rotation2 ` float NOT NULL DEFAULT ' 0 ' ,
` parent_rotation3 ` float NOT NULL DEFAULT ' 1 ' ,
2022-01-02 21:29:31 +00:00
` invisibilityType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` invisibilityValue ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` WorldEffectID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AIAnimKitID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` guid ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `gameobject_loot_template`
--
DROP TABLE IF EXISTS ` gameobject_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` gameobject_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-08-18 15:19:39 +00:00
--
-- Table structure for table `gameobject_overrides`
--
DROP TABLE IF EXISTS ` gameobject_overrides ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-08-18 15:19:39 +00:00
CREATE TABLE ` gameobject_overrides ` (
2022-01-02 21:29:31 +00:00
` spawnId ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` faction ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2021-08-18 15:19:39 +00:00
PRIMARY KEY ( ` spawnId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-08-18 15:19:39 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `gameobject_questender`
--
DROP TABLE IF EXISTS ` gameobject_questender ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` gameobject_questender ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quest ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Quest Identifier ' ,
2022-07-25 18:51:32 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` , ` quest ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `gameobject_questitem`
--
DROP TABLE IF EXISTS ` gameobject_questitem ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` gameobject_questitem ` (
2022-01-02 21:29:31 +00:00
` GameObjectEntry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Idx ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` GameObjectEntry ` , ` Idx ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `gameobject_queststarter`
--
DROP TABLE IF EXISTS ` gameobject_queststarter ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` gameobject_queststarter ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quest ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Quest Identifier ' ,
2022-07-25 18:51:32 +00:00
` VerifiedBuild ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` , ` quest ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `gameobject_template`
--
DROP TABLE IF EXISTS ` gameobject_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` gameobject_template ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` displayId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2025-03-29 01:17:19 +00:00
` name ` varchar ( 200 ) COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-15 23:33:52 +00:00
` IconName ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` castBarCaption ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` unk1 ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2020-06-17 17:09:48 +00:00
` size ` float NOT NULL DEFAULT ' 1 ' ,
2022-01-02 21:29:31 +00:00
` Data0 ` int NOT NULL DEFAULT ' 0 ' ,
` Data1 ` int NOT NULL DEFAULT ' 0 ' ,
` Data2 ` int NOT NULL DEFAULT ' 0 ' ,
` Data3 ` int NOT NULL DEFAULT ' 0 ' ,
` Data4 ` int NOT NULL DEFAULT ' 0 ' ,
` Data5 ` int NOT NULL DEFAULT ' 0 ' ,
` Data6 ` int NOT NULL DEFAULT ' 0 ' ,
` Data7 ` int NOT NULL DEFAULT ' 0 ' ,
` Data8 ` int NOT NULL DEFAULT ' 0 ' ,
` Data9 ` int NOT NULL DEFAULT ' 0 ' ,
` Data10 ` int NOT NULL DEFAULT ' 0 ' ,
` Data11 ` int NOT NULL DEFAULT ' 0 ' ,
` Data12 ` int NOT NULL DEFAULT ' 0 ' ,
` Data13 ` int NOT NULL DEFAULT ' 0 ' ,
` Data14 ` int NOT NULL DEFAULT ' 0 ' ,
` Data15 ` int NOT NULL DEFAULT ' 0 ' ,
` Data16 ` int NOT NULL DEFAULT ' 0 ' ,
` Data17 ` int NOT NULL DEFAULT ' 0 ' ,
` Data18 ` int NOT NULL DEFAULT ' 0 ' ,
` Data19 ` int NOT NULL DEFAULT ' 0 ' ,
` Data20 ` int NOT NULL DEFAULT ' 0 ' ,
` Data21 ` int NOT NULL DEFAULT ' 0 ' ,
` Data22 ` int NOT NULL DEFAULT ' 0 ' ,
` Data23 ` int NOT NULL DEFAULT ' 0 ' ,
` Data24 ` int NOT NULL DEFAULT ' 0 ' ,
` Data25 ` int NOT NULL DEFAULT ' 0 ' ,
` Data26 ` int NOT NULL DEFAULT ' 0 ' ,
` Data27 ` int NOT NULL DEFAULT ' 0 ' ,
` Data28 ` int NOT NULL DEFAULT ' 0 ' ,
` Data29 ` int NOT NULL DEFAULT ' 0 ' ,
` Data30 ` int NOT NULL DEFAULT ' 0 ' ,
` Data31 ` int NOT NULL DEFAULT ' 0 ' ,
` Data32 ` int NOT NULL DEFAULT ' 0 ' ,
` Data33 ` int NOT NULL DEFAULT ' 0 ' ,
` Data34 ` int NOT NULL DEFAULT ' 0 ' ,
` ContentTuningId ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` AIName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2023-11-15 01:03:38 +00:00
` StringId ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` ) ,
KEY ` idx_name ` ( ` name ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Gameobject System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2016-10-16 17:38:56 +01:00
--
-- Table structure for table `gameobject_template_addon`
--
DROP TABLE IF EXISTS ` gameobject_template_addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2016-10-16 17:38:56 +01:00
CREATE TABLE ` gameobject_template_addon ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` faction ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` mingold ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` maxgold ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` artkit0 ` int NOT NULL DEFAULT ' 0 ' ,
` artkit1 ` int NOT NULL DEFAULT ' 0 ' ,
` artkit2 ` int NOT NULL DEFAULT ' 0 ' ,
` artkit3 ` int NOT NULL DEFAULT ' 0 ' ,
` artkit4 ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` WorldEffectID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AIAnimKitID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2016-10-16 17:38:56 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2016-10-16 17:38:56 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-11-08 01:36:49 +01:00
--
-- Table structure for table `gameobject_template_locale`
--
DROP TABLE IF EXISTS ` gameobject_template_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-11-08 01:36:49 +01:00
CREATE TABLE ` gameobject_template_locale ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` castBarCaption ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` unk1 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-11-08 01:36:49 +01:00
PRIMARY KEY ( ` entry ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-11-08 01:36:49 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `garrison_follower_class_spec_abilities`
--
DROP TABLE IF EXISTS ` garrison_follower_class_spec_abilities ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` garrison_follower_class_spec_abilities ` (
2022-01-02 21:29:31 +00:00
` classSpecId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` abilityId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` classSpecId ` , ` abilityId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `garrison_plot_finalize_info`
--
DROP TABLE IF EXISTS ` garrison_plot_finalize_info ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` garrison_plot_finalize_info ` (
2022-01-02 21:29:31 +00:00
` garrPlotInstanceId ` int unsigned NOT NULL ,
` hordeGameObjectId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` hordeX ` float NOT NULL DEFAULT ' 0 ' ,
` hordeY ` float NOT NULL DEFAULT ' 0 ' ,
` hordeZ ` float NOT NULL DEFAULT ' 0 ' ,
` hordeO ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` hordeAnimKitId ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` allianceGameObjectId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` allianceX ` float NOT NULL DEFAULT ' 0 ' ,
` allianceY ` float NOT NULL DEFAULT ' 0 ' ,
` allianceZ ` float NOT NULL DEFAULT ' 0 ' ,
` allianceO ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` allianceAnimKitId ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` garrPlotInstanceId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `gossip_menu`
--
DROP TABLE IF EXISTS ` gossip_menu ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` gossip_menu ` (
2022-03-06 15:20:27 +00:00
` MenuID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` TextID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
PRIMARY KEY ( ` MenuID ` , ` TextID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-08-19 23:51:29 +00:00
--
-- Table structure for table `gossip_menu_addon`
--
DROP TABLE IF EXISTS ` gossip_menu_addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` gossip_menu_addon ` (
` MenuID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` FriendshipFactionID ` int NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` LfgDungeonsID ` int NOT NULL DEFAULT ' 0 ' ,
2022-08-19 23:51:29 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` MenuID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `gossip_menu_option`
--
DROP TABLE IF EXISTS ` gossip_menu_option ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` gossip_menu_option ` (
2022-03-06 15:20:27 +00:00
` MenuID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-12-20 03:19:22 +00:00
` GossipOptionID ` int NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` OptionID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-11-20 11:12:09 +00:00
` OptionNpc ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` OptionText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-03-06 15:20:27 +00:00
` OptionBroadcastTextID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Language ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-12-20 03:19:22 +00:00
` Flags ` int NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` ActionMenuID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ActionPoiID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-12-20 03:19:22 +00:00
` GossipNpcOptionID ` int DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` BoxCoded ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2025-03-29 01:17:19 +00:00
` BoxMoney ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-07-25 18:51:32 +00:00
` BoxText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-03-06 15:20:27 +00:00
` BoxBroadcastTextID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-12-20 03:19:22 +00:00
` SpellID ` int DEFAULT NULL ,
` OverrideIconID ` int DEFAULT NULL ,
2022-11-20 11:12:09 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` MenuID ` , ` OptionID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2018-02-19 22:48:54 +00:00
--
-- Table structure for table `gossip_menu_option_locale`
--
DROP TABLE IF EXISTS ` gossip_menu_option_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` gossip_menu_option_locale ` (
2022-03-06 15:20:27 +00:00
` MenuID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` OptionID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` OptionText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` BoxText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-03-06 15:20:27 +00:00
PRIMARY KEY ( ` MenuID ` , ` OptionID ` , ` Locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-09-21 17:07:20 +02:00
--
2015-03-21 17:09:25 +00:00
-- Table structure for table `graveyard_zone`
2014-09-21 17:07:20 +02:00
--
2015-03-21 17:09:25 +00:00
DROP TABLE IF EXISTS ` graveyard_zone ` ;
2014-09-21 17:07:20 +02:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` graveyard_zone ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` GhostZone ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` , ` GhostZone ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Trigger System ' ;
2014-09-21 17:07:20 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `guild_rewards`
--
DROP TABLE IF EXISTS ` guild_rewards ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-09-21 17:07:20 +02:00
CREATE TABLE ` guild_rewards ` (
2022-01-02 21:29:31 +00:00
` ItemID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` MinGuildRep ` tinyint unsigned DEFAULT ' 0 ' ,
` RaceMask ` bigint unsigned DEFAULT ' 0 ' ,
` Cost ` bigint unsigned DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ItemID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-09-21 17:07:20 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2015-03-21 17:09:25 +00:00
-- Table structure for table `guild_rewards_req_achievements`
2014-09-21 17:07:20 +02:00
--
2015-03-21 17:09:25 +00:00
DROP TABLE IF EXISTS ` guild_rewards_req_achievements ` ;
2014-09-21 17:07:20 +02:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` guild_rewards_req_achievements ` (
2022-01-02 21:29:31 +00:00
` ItemID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AchievementRequired ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ItemID ` , ` AchievementRequired ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-09-21 17:07:20 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2020-10-20 21:43:38 +00:00
--
-- Table structure for table `instance_spawn_groups`
--
DROP TABLE IF EXISTS ` instance_spawn_groups ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2020-10-20 21:43:38 +00:00
CREATE TABLE ` instance_spawn_groups ` (
2022-01-02 21:29:31 +00:00
` instanceMapId ` smallint unsigned NOT NULL ,
` bossStateId ` tinyint unsigned NOT NULL ,
` bossStates ` tinyint unsigned NOT NULL ,
` spawnGroupId ` int unsigned NOT NULL ,
` flags ` tinyint unsigned NOT NULL ,
2020-10-20 21:43:38 +00:00
PRIMARY KEY ( ` instanceMapId ` , ` bossStateId ` , ` spawnGroupId ` , ` bossStates ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2020-10-20 21:43:38 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `instance_template`
--
DROP TABLE IF EXISTS ` instance_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` instance_template ` (
2022-01-02 21:29:31 +00:00
` map ` smallint unsigned NOT NULL ,
` parent ` smallint unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` script ` varchar ( 128 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` map ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2019-07-15 16:14:05 +02:00
-- Table structure for table `item_loot_template`
2014-07-28 23:22:53 +01:00
--
2019-07-15 16:14:05 +02:00
DROP TABLE IF EXISTS ` item_loot_template ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2019-07-15 16:14:05 +02:00
CREATE TABLE ` item_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2019-07-15 16:14:05 +02:00
-- Table structure for table `item_random_bonus_list_template`
2014-07-28 23:22:53 +01:00
--
2019-07-15 16:14:05 +02:00
DROP TABLE IF EXISTS ` item_random_bonus_list_template ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2019-07-15 16:14:05 +02:00
CREATE TABLE ` item_random_bonus_list_template ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
` BonusListID ` int unsigned NOT NULL ,
2019-07-15 16:14:05 +02:00
` Chance ` float NOT NULL ,
PRIMARY KEY ( ` Id ` , ` BonusListID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Item Random Enchantment System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2014-09-21 17:07:20 +02:00
-- Table structure for table `item_script_names`
2014-07-28 23:22:53 +01:00
--
2014-09-21 17:07:20 +02:00
DROP TABLE IF EXISTS ` item_script_names ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-09-21 17:07:20 +02:00
CREATE TABLE ` item_script_names ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2014-09-21 17:07:20 +02:00
PRIMARY KEY ( ` Id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-09-21 17:07:20 +02:00
--
-- Table structure for table `item_template_addon`
--
DROP TABLE IF EXISTS ` item_template_addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-09-21 17:07:20 +02:00
CREATE TABLE ` item_template_addon ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
` FlagsCu ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` FoodType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinMoneyLoot ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` MaxMoneyLoot ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellPPMChance ` float NOT NULL DEFAULT ' 0 ' ,
` RandomBonusListTemplateId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
` QuestLogItemId ` int NOT NULL DEFAULT ' 0 ' ,
2014-09-21 17:07:20 +02:00
PRIMARY KEY ( ` Id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `jump_charge_params`
--
DROP TABLE IF EXISTS ` jump_charge_params ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` jump_charge_params ` (
` id ` int NOT NULL ,
` speed ` float NOT NULL DEFAULT ' 42 ' ,
` treatSpeedAsMoveTimeSeconds ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` jumpGravity ` float NOT NULL DEFAULT ' 19.2911 ' ,
` spellVisualId ` int DEFAULT NULL ,
` progressCurveId ` int DEFAULT NULL ,
` parabolicCurveId ` int DEFAULT NULL ,
PRIMARY KEY ( ` id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-09-21 17:07:20 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `lfg_dungeon_rewards`
--
DROP TABLE IF EXISTS ` lfg_dungeon_rewards ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` lfg_dungeon_rewards ` (
2022-01-02 21:29:31 +00:00
` dungeonId ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Dungeon entry from dbc ' ,
` maxLevel ` tinyint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Max level at which this reward is rewarded ' ,
` firstQuestId ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Quest id with rewards for first dungeon this day ' ,
` otherQuestId ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Quest id with rewards for Nth dungeon this day ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` dungeonId ` , ` maxLevel ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2014-09-21 17:07:20 +02:00
-- Table structure for table `lfg_dungeon_template`
2014-07-28 23:22:53 +01:00
--
2014-09-21 17:07:20 +02:00
DROP TABLE IF EXISTS ` lfg_dungeon_template ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-09-21 17:07:20 +02:00
CREATE TABLE ` lfg_dungeon_template ` (
2022-01-02 21:29:31 +00:00
` dungeonId ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Unique id from LFGDungeons.dbc ' ,
` name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2020-06-17 17:09:48 +00:00
` position_x ` float NOT NULL DEFAULT ' 0 ' ,
` position_y ` float NOT NULL DEFAULT ' 0 ' ,
` position_z ` float NOT NULL DEFAULT ' 0 ' ,
` orientation ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` requiredItemLevel ` smallint NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` dungeonId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `linked_respawn`
--
DROP TABLE IF EXISTS ` linked_respawn ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` linked_respawn ` (
2022-01-02 21:29:31 +00:00
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` linkedGuid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` linkType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` , ` linkType ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Creature Respawn Link System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `mail_level_reward`
--
DROP TABLE IF EXISTS ` mail_level_reward ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` mail_level_reward ` (
2022-01-02 21:29:31 +00:00
` level ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` raceMask ` bigint unsigned NOT NULL ,
` mailTemplateId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` senderEntry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` level ` , ` raceMask ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Mail System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `mail_loot_template`
--
DROP TABLE IF EXISTS ` mail_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` mail_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `milling_loot_template`
--
DROP TABLE IF EXISTS ` milling_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` milling_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2016-10-16 17:38:56 +01:00
--
-- Table structure for table `mount_definitions`
--
DROP TABLE IF EXISTS ` mount_definitions ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2016-10-16 17:38:56 +01:00
CREATE TABLE ` mount_definitions ` (
2022-01-02 21:29:31 +00:00
` spellId ` int unsigned NOT NULL ,
` otherFactionSpellId ` int unsigned NOT NULL ,
2016-10-16 17:38:56 +01:00
PRIMARY KEY ( ` spellId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2016-10-16 17:38:56 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `npc_spellclick_spells`
--
DROP TABLE IF EXISTS ` npc_spellclick_spells ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` npc_spellclick_spells ` (
2022-01-02 21:29:31 +00:00
` npc_entry ` int unsigned NOT NULL COMMENT ' reference to creature_template ' ,
` spell_id ` int unsigned NOT NULL COMMENT ' spell which should be casted ' ,
` cast_flags ` tinyint unsigned NOT NULL COMMENT ' first bit defines caster: 1=player, 0=creature; second bit defines target, same mapping as caster bit ' ,
` user_type ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' relation with summoner: 0-no 1-friendly 2-raid 3-party player can click ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` npc_entry ` , ` spell_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `npc_text`
--
DROP TABLE IF EXISTS ` npc_text ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` npc_text ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Probability0 ` float NOT NULL DEFAULT ' 0 ' ,
` Probability1 ` float NOT NULL DEFAULT ' 0 ' ,
` Probability2 ` float NOT NULL DEFAULT ' 0 ' ,
` Probability3 ` float NOT NULL DEFAULT ' 0 ' ,
` Probability4 ` float NOT NULL DEFAULT ' 0 ' ,
` Probability5 ` float NOT NULL DEFAULT ' 0 ' ,
` Probability6 ` float NOT NULL DEFAULT ' 0 ' ,
` Probability7 ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` BroadcastTextID0 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` BroadcastTextID1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` BroadcastTextID2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` BroadcastTextID3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` BroadcastTextID4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` BroadcastTextID5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` BroadcastTextID6 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` BroadcastTextID7 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `npc_vendor`
--
DROP TABLE IF EXISTS ` npc_vendor ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` npc_vendor ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` slot ` smallint NOT NULL DEFAULT ' 0 ' ,
` item ` int NOT NULL DEFAULT ' 0 ' ,
` maxcount ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` incrtime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ExtendedCost ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` type ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` BonusListIDs ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` PlayerConditionID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` IgnoreFiltering ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2014-09-21 17:07:20 +02:00
PRIMARY KEY ( ` entry ` , ` item ` , ` ExtendedCost ` , ` type ` ) ,
2014-07-28 23:22:53 +01:00
KEY ` slot ` ( ` slot ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Npc System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `outdoorpvp_template`
--
DROP TABLE IF EXISTS ` outdoorpvp_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` outdoorpvp_template ` (
2022-01-02 21:29:31 +00:00
` TypeId ` tinyint unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` comment ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` TypeId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' OutdoorPvP Templates ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `page_text`
--
DROP TABLE IF EXISTS ` page_text ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` page_text ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Text ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` NextPageID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` PlayerConditionID ` int NOT NULL DEFAULT ' 0 ' ,
` Flags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Item System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `page_text_locale`
--
DROP TABLE IF EXISTS ` page_text_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` page_text_locale ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Text ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` ID ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `pet_levelstats`
--
DROP TABLE IF EXISTS ` pet_levelstats ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` pet_levelstats ` (
2022-01-02 21:29:31 +00:00
` creature_entry ` int unsigned NOT NULL ,
` level ` tinyint unsigned NOT NULL ,
` hp ` smallint unsigned NOT NULL ,
` mana ` smallint unsigned NOT NULL ,
` armor ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` str ` smallint unsigned NOT NULL ,
` agi ` smallint unsigned NOT NULL ,
` sta ` smallint unsigned NOT NULL ,
` inte ` smallint unsigned NOT NULL ,
` spi ` smallint unsigned NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` creature_entry ` , ` level ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci PACK_KEYS = 0 COMMENT = ' Stores pet levels stats. ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `pet_name_generation`
--
DROP TABLE IF EXISTS ` pet_name_generation ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` pet_name_generation ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` word ` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` half ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-09-21 17:07:20 +02:00
--
2015-07-14 00:05:36 +01:00
-- Table structure for table `phase_area`
2014-09-21 17:07:20 +02:00
--
2015-07-14 00:05:36 +01:00
DROP TABLE IF EXISTS ` phase_area ` ;
2014-09-21 17:07:20 +02:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` phase_area ` (
2022-01-02 21:29:31 +00:00
` AreaId ` int unsigned NOT NULL ,
` PhaseId ` int unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` AreaId ` , ` PhaseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `phase_name`
--
DROP TABLE IF EXISTS ` phase_name ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` phase_name ` (
` ID ` int unsigned NOT NULL ,
` Name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
PRIMARY KEY ( ` ID ` ) USING BTREE
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Helper table to store names for phases ' ;
2014-09-21 17:07:20 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `pickpocketing_loot_template`
--
DROP TABLE IF EXISTS ` pickpocketing_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` pickpocketing_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2020-06-17 17:09:48 +00:00
--
-- Table structure for table `player_classlevelstats`
--
DROP TABLE IF EXISTS ` player_classlevelstats ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2020-06-17 17:09:48 +00:00
CREATE TABLE ` player_classlevelstats ` (
2022-01-02 21:29:31 +00:00
` class ` tinyint unsigned NOT NULL ,
` level ` tinyint unsigned NOT NULL ,
2025-03-29 01:17:19 +00:00
` str ` int NOT NULL COMMENT ' strength ' ,
` agi ` int NOT NULL COMMENT ' agility ' ,
` sta ` int NOT NULL COMMENT ' stamina ' ,
` inte ` int NOT NULL COMMENT ' intellect ' ,
2022-03-06 15:20:27 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
PRIMARY KEY ( ` class ` , ` level ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Stores levels stats. ' ;
2020-06-17 17:09:48 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `player_factionchange_achievement`
--
DROP TABLE IF EXISTS ` player_factionchange_achievement ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` player_factionchange_achievement ` (
2022-01-02 21:29:31 +00:00
` alliance_id ` int unsigned NOT NULL ,
` horde_id ` int unsigned NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` alliance_id ` , ` horde_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `player_factionchange_quests`
--
DROP TABLE IF EXISTS ` player_factionchange_quests ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` player_factionchange_quests ` (
2022-01-02 21:29:31 +00:00
` alliance_id ` int unsigned NOT NULL ,
` horde_id ` int unsigned NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` alliance_id ` , ` horde_id ` ) ,
UNIQUE KEY ` alliance_uniq ` ( ` alliance_id ` ) ,
UNIQUE KEY ` horde_uniq ` ( ` horde_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `player_factionchange_reputations`
--
DROP TABLE IF EXISTS ` player_factionchange_reputations ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` player_factionchange_reputations ` (
2022-01-02 21:29:31 +00:00
` alliance_id ` int unsigned NOT NULL ,
` horde_id ` int unsigned NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` alliance_id ` , ` horde_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `player_factionchange_spells`
--
DROP TABLE IF EXISTS ` player_factionchange_spells ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` player_factionchange_spells ` (
2022-01-02 21:29:31 +00:00
` alliance_id ` int unsigned NOT NULL ,
` horde_id ` int unsigned NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` alliance_id ` , ` horde_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `player_factionchange_titles`
--
DROP TABLE IF EXISTS ` player_factionchange_titles ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` player_factionchange_titles ` (
2022-01-02 21:29:31 +00:00
` alliance_id ` int NOT NULL ,
` horde_id ` int NOT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` alliance_id ` , ` horde_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2020-06-17 17:09:48 +00:00
-- Table structure for table `player_racestats`
2014-07-28 23:22:53 +01:00
--
2020-06-17 17:09:48 +00:00
DROP TABLE IF EXISTS ` player_racestats ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2020-06-17 17:09:48 +00:00
CREATE TABLE ` player_racestats ` (
2022-01-02 21:29:31 +00:00
` race ` tinyint unsigned NOT NULL ,
` str ` smallint NOT NULL COMMENT ' strength ' ,
` agi ` smallint NOT NULL COMMENT ' agility ' ,
` sta ` smallint NOT NULL COMMENT ' stamina ' ,
` inte ` smallint NOT NULL COMMENT ' intellect ' ,
2020-06-17 17:09:48 +00:00
PRIMARY KEY ( ` race ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Stores race stats. ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `player_xp_for_level`
--
DROP TABLE IF EXISTS ` player_xp_for_level ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` player_xp_for_level ` (
2022-01-02 21:29:31 +00:00
` Level ` tinyint unsigned NOT NULL ,
` Experience ` int unsigned NOT NULL ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` Level ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2018-02-19 22:48:54 +00:00
--
-- Table structure for table `playerchoice`
--
DROP TABLE IF EXISTS ` playerchoice ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` playerchoice ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` UiTextureKitId ` int NOT NULL DEFAULT ' 0 ' ,
` SoundKitId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` CloseSoundKitId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Duration ` bigint NOT NULL DEFAULT ' 0 ' ,
2022-07-25 18:51:32 +00:00
` PendingChoiceText ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2022-01-15 23:33:52 +00:00
` Question ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2020-06-17 17:09:48 +00:00
` HideWarboardHeader ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` KeepOpenAfterChoice ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ChoiceId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `playerchoice_locale`
--
DROP TABLE IF EXISTS ` playerchoice_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` playerchoice_locale ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Question ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `playerchoice_response`
--
DROP TABLE IF EXISTS ` playerchoice_response ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` playerchoice_response ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` ResponseId ` int NOT NULL ,
` ResponseIdentifier ` smallint unsigned NOT NULL ,
` Index ` int unsigned NOT NULL ,
` ChoiceArtFileId ` int NOT NULL DEFAULT ' 0 ' ,
` Flags ` int NOT NULL DEFAULT ' 0 ' ,
` WidgetSetID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` UiTextureAtlasElementID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SoundKitID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` GroupID ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` UiTextureKitID ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Header ` varchar ( 511 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` SubHeader ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` ButtonTooltip ` varchar ( 400 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` Answer ` varchar ( 511 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Description ` varchar ( 2047 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Confirmation ` varchar ( 127 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` RewardQuestID ` int unsigned DEFAULT NULL ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` ResponseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `playerchoice_response_locale`
--
DROP TABLE IF EXISTS ` playerchoice_response_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` playerchoice_response_locale ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` ResponseId ` int NOT NULL ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Header ` varchar ( 511 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` SubHeader ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` ButtonTooltip ` varchar ( 400 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` Answer ` varchar ( 511 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` Description ` varchar ( 2047 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` Confirmation ` varchar ( 127 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` ResponseId ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-07-04 22:30:16 +00:00
--
-- Table structure for table `playerchoice_response_maw_power`
--
DROP TABLE IF EXISTS ` playerchoice_response_maw_power ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-07-04 22:30:16 +00:00
CREATE TABLE ` playerchoice_response_maw_power ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` ResponseId ` int NOT NULL ,
` TypeArtFileID ` int DEFAULT ' 0 ' ,
` Rarity ` int DEFAULT ' 0 ' ,
` RarityColor ` int unsigned DEFAULT ' 0 ' ,
` SpellID ` int DEFAULT ' 0 ' ,
` MaxStacks ` int DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` ResponseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-07-04 22:30:16 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2018-02-19 22:48:54 +00:00
--
-- Table structure for table `playerchoice_response_reward`
--
DROP TABLE IF EXISTS ` playerchoice_response_reward ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` playerchoice_response_reward ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` ResponseId ` int NOT NULL ,
` TitleId ` int NOT NULL DEFAULT ' 0 ' ,
` PackageId ` int NOT NULL DEFAULT ' 0 ' ,
` SkillLineId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SkillPointCount ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ArenaPointCount ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` HonorPointCount ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Money ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` Xp ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` ResponseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `playerchoice_response_reward_currency`
--
DROP TABLE IF EXISTS ` playerchoice_response_reward_currency ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` playerchoice_response_reward_currency ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` ResponseId ` int NOT NULL ,
` Index ` int unsigned NOT NULL ,
` CurrencyId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Quantity ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` ResponseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `playerchoice_response_reward_faction`
--
DROP TABLE IF EXISTS ` playerchoice_response_reward_faction ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` playerchoice_response_reward_faction ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` ResponseId ` int NOT NULL ,
` Index ` int unsigned NOT NULL ,
` FactionId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Quantity ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` ResponseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `playerchoice_response_reward_item`
--
DROP TABLE IF EXISTS ` playerchoice_response_reward_item ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` playerchoice_response_reward_item ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` ResponseId ` int NOT NULL ,
` Index ` int unsigned NOT NULL ,
` ItemId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` BonusListIDs ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` Quantity ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` ResponseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-07-04 22:30:16 +00:00
--
-- Table structure for table `playerchoice_response_reward_item_choice`
--
DROP TABLE IF EXISTS ` playerchoice_response_reward_item_choice ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-07-04 22:30:16 +00:00
CREATE TABLE ` playerchoice_response_reward_item_choice ` (
2022-01-02 21:29:31 +00:00
` ChoiceId ` int NOT NULL ,
` ResponseId ` int NOT NULL ,
` Index ` int unsigned NOT NULL ,
` ItemId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` BonusListIDs ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` Quantity ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
PRIMARY KEY ( ` ChoiceId ` , ` ResponseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-07-04 22:30:16 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `playercreateinfo`
--
DROP TABLE IF EXISTS ` playercreateinfo ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` playercreateinfo ` (
2022-01-02 21:29:31 +00:00
` race ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` class ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` map ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` position_x ` float NOT NULL DEFAULT ' 0 ' ,
` position_y ` float NOT NULL DEFAULT ' 0 ' ,
` position_z ` float NOT NULL DEFAULT ' 0 ' ,
` orientation ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` npe_map ` int unsigned DEFAULT NULL ,
2021-10-15 10:18:03 +00:00
` npe_position_x ` float DEFAULT NULL ,
` npe_position_y ` float DEFAULT NULL ,
` npe_position_z ` float DEFAULT NULL ,
` npe_orientation ` float DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` npe_transport_guid ` bigint unsigned DEFAULT NULL ,
` intro_movie_id ` int unsigned DEFAULT NULL ,
` intro_scene_id ` int unsigned DEFAULT NULL ,
` npe_intro_scene_id ` int unsigned DEFAULT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` race ` , ` class ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `playercreateinfo_action`
--
DROP TABLE IF EXISTS ` playercreateinfo_action ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` playercreateinfo_action ` (
2022-01-02 21:29:31 +00:00
` race ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` class ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` button ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` action ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` type ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` race ` , ` class ` , ` button ` ) ,
KEY ` playercreateinfo_race_class_index ` ( ` race ` , ` class ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-09-21 17:07:20 +02:00
--
-- Table structure for table `playercreateinfo_cast_spell`
--
DROP TABLE IF EXISTS ` playercreateinfo_cast_spell ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-09-21 17:07:20 +02:00
CREATE TABLE ` playercreateinfo_cast_spell ` (
2022-01-02 21:29:31 +00:00
` raceMask ` bigint unsigned NOT NULL ,
` classMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` createMode ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` spell ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` note ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
PRIMARY KEY ( ` raceMask ` , ` classMask ` , ` createMode ` , ` spell ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-09-21 17:07:20 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `playercreateinfo_item`
--
DROP TABLE IF EXISTS ` playercreateinfo_item ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` playercreateinfo_item ` (
2022-01-02 21:29:31 +00:00
` race ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` class ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` itemid ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` amount ` tinyint NOT NULL DEFAULT ' 1 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` race ` , ` class ` , ` itemid ` ) ,
KEY ` playercreateinfo_race_class_index ` ( ` race ` , ` class ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `playercreateinfo_spell_custom`
--
DROP TABLE IF EXISTS ` playercreateinfo_spell_custom ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` playercreateinfo_spell_custom ` (
2022-01-02 21:29:31 +00:00
` racemask ` bigint unsigned NOT NULL ,
` classmask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Spell ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Note ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` racemask ` , ` classmask ` , ` Spell ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `points_of_interest`
--
DROP TABLE IF EXISTS ` points_of_interest ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` points_of_interest ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` PositionX ` float NOT NULL DEFAULT ' 0 ' ,
` PositionY ` float NOT NULL DEFAULT ' 0 ' ,
2021-08-18 15:19:39 +00:00
` PositionZ ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Icon ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Importance ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-11-20 11:12:09 +00:00
` WMOGroupID ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `points_of_interest_locale`
--
DROP TABLE IF EXISTS ` points_of_interest_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` points_of_interest_locale ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` ID ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2022-01-02 21:29:31 +00:00
-- Table structure for table `pool_members`
2014-07-28 23:22:53 +01:00
--
2022-01-02 21:29:31 +00:00
DROP TABLE IF EXISTS ` pool_members ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` pool_members ` (
` type ` smallint unsigned NOT NULL ,
2022-07-25 18:51:32 +00:00
` spawnId ` bigint unsigned NOT NULL ,
2022-01-02 21:29:31 +00:00
` poolSpawnId ` int unsigned NOT NULL ,
` chance ` float NOT NULL ,
2022-01-15 23:33:52 +00:00
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
PRIMARY KEY ( ` type ` , ` spawnId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `pool_template`
--
DROP TABLE IF EXISTS ` pool_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` pool_template ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Pool entry ' ,
` max_limit ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Max number of objects (0) is no limit ' ,
2022-01-15 23:33:52 +00:00
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `prospecting_loot_template`
--
DROP TABLE IF EXISTS ` prospecting_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` prospecting_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-12-20 03:19:22 +00:00
--
-- Table structure for table `quest_completion_log_conditional`
--
DROP TABLE IF EXISTS ` quest_completion_log_conditional ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` quest_completion_log_conditional ` (
` QuestId ` int NOT NULL ,
` PlayerConditionId ` int NOT NULL ,
` QuestgiverCreatureId ` int NOT NULL ,
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Text ` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` OrderIndex ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` QuestId ` , ` PlayerConditionId ` , ` QuestgiverCreatureId ` , ` locale ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `quest_description_conditional`
--
DROP TABLE IF EXISTS ` quest_description_conditional ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` quest_description_conditional ` (
` QuestId ` int NOT NULL ,
` PlayerConditionId ` int NOT NULL ,
` QuestgiverCreatureId ` int NOT NULL ,
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Text ` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` OrderIndex ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` QuestId ` , ` PlayerConditionId ` , ` QuestgiverCreatureId ` , ` locale ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-03-21 17:09:25 +00:00
--
-- Table structure for table `quest_details`
--
DROP TABLE IF EXISTS ` quest_details ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` quest_details ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Emote1 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` Emote2 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` Emote3 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` Emote4 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteDelay1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteDelay2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteDelay3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteDelay4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `quest_greeting`
--
DROP TABLE IF EXISTS ` quest_greeting ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` quest_greeting ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` GreetEmoteType ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` GreetEmoteDelay ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Greeting ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` , ` Type ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2019-07-15 16:14:05 +02:00
--
-- Table structure for table `quest_greeting_locale`
--
DROP TABLE IF EXISTS ` quest_greeting_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2019-07-15 16:14:05 +02:00
CREATE TABLE ` quest_greeting_locale ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Greeting ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2019-07-15 16:14:05 +02:00
PRIMARY KEY ( ` ID ` , ` type ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2019-07-15 16:14:05 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2017-04-19 00:25:43 +01:00
--
-- Table structure for table `quest_mail_sender`
--
DROP TABLE IF EXISTS ` quest_mail_sender ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` quest_mail_sender ` (
2022-01-02 21:29:31 +00:00
` QuestId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardMailSenderEntry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` QuestId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-03-21 17:09:25 +00:00
--
-- Table structure for table `quest_objectives`
--
DROP TABLE IF EXISTS ` quest_objectives ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` quest_objectives ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` QuestID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` Order ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` StorageIndex ` tinyint NOT NULL DEFAULT ' 0 ' ,
` ObjectID ` int NOT NULL DEFAULT ' 0 ' ,
` Amount ` int NOT NULL DEFAULT ' 0 ' ,
` Flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Flags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` ProgressBarWeight ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Description ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2023-07-14 08:35:02 +00:00
--
-- Table structure for table `quest_objectives_completion_effect`
--
DROP TABLE IF EXISTS ` quest_objectives_completion_effect ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` quest_objectives_completion_effect ` (
` ObjectiveID ` int NOT NULL ,
` GameEventID ` int DEFAULT NULL ,
` SpellID ` int DEFAULT NULL ,
` ConversationID ` int DEFAULT NULL ,
` UpdatePhaseShift ` tinyint ( 1 ) DEFAULT ' 0 ' ,
` UpdateZoneAuras ` tinyint ( 1 ) DEFAULT ' 0 ' ,
PRIMARY KEY ( ` ObjectiveID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `quest_objectives_locale`
--
DROP TABLE IF EXISTS ` quest_objectives_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` quest_objectives_locale ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` QuestId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StorageIndex ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` Description ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` ID ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-03-21 17:09:25 +00:00
--
-- Table structure for table `quest_offer_reward`
--
DROP TABLE IF EXISTS ` quest_offer_reward ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` quest_offer_reward ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-07-25 18:51:32 +00:00
` Emote1 ` smallint NOT NULL DEFAULT ' 0 ' ,
` Emote2 ` smallint NOT NULL DEFAULT ' 0 ' ,
` Emote3 ` smallint NOT NULL DEFAULT ' 0 ' ,
` Emote4 ` smallint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` EmoteDelay1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteDelay2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteDelay3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteDelay4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` RewardText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-12-20 03:19:22 +00:00
--
-- Table structure for table `quest_offer_reward_conditional`
--
DROP TABLE IF EXISTS ` quest_offer_reward_conditional ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` quest_offer_reward_conditional ` (
` QuestId ` int NOT NULL ,
` PlayerConditionId ` int NOT NULL ,
` QuestgiverCreatureId ` int NOT NULL ,
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Text ` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` OrderIndex ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` QuestId ` , ` PlayerConditionId ` , ` QuestgiverCreatureId ` , ` locale ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2017-04-19 00:25:43 +01:00
--
-- Table structure for table `quest_offer_reward_locale`
--
DROP TABLE IF EXISTS ` quest_offer_reward_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` quest_offer_reward_locale ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` RewardText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` ID ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `quest_poi`
--
DROP TABLE IF EXISTS ` quest_poi ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` quest_poi ` (
2022-01-02 21:29:31 +00:00
` QuestID ` int NOT NULL DEFAULT ' 0 ' ,
` BlobIndex ` int NOT NULL DEFAULT ' 0 ' ,
` Idx1 ` int NOT NULL DEFAULT ' 0 ' ,
` ObjectiveIndex ` int NOT NULL DEFAULT ' 0 ' ,
` QuestObjectiveID ` int NOT NULL DEFAULT ' 0 ' ,
` QuestObjectID ` int NOT NULL DEFAULT ' 0 ' ,
` MapID ` int NOT NULL DEFAULT ' 0 ' ,
` UiMapID ` int NOT NULL DEFAULT ' 0 ' ,
` Priority ` int NOT NULL DEFAULT ' 0 ' ,
` Flags ` int NOT NULL DEFAULT ' 0 ' ,
` WorldEffectID ` int NOT NULL DEFAULT ' 0 ' ,
` PlayerConditionID ` int NOT NULL DEFAULT ' 0 ' ,
` NavigationPlayerConditionID ` int NOT NULL DEFAULT ' 0 ' ,
` SpawnTrackingID ` int NOT NULL DEFAULT ' 0 ' ,
` AlwaysAllowMergingBlobs ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` QuestID ` , ` BlobIndex ` , ` Idx1 ` ) ,
KEY ` idx ` ( ` QuestID ` , ` BlobIndex ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `quest_poi_points`
--
DROP TABLE IF EXISTS ` quest_poi_points ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` quest_poi_points ` (
2022-01-02 21:29:31 +00:00
` QuestID ` int NOT NULL DEFAULT ' 0 ' ,
` Idx1 ` int NOT NULL DEFAULT ' 0 ' ,
` Idx2 ` int NOT NULL DEFAULT ' 0 ' ,
` X ` int NOT NULL DEFAULT ' 0 ' ,
` Y ` int NOT NULL DEFAULT ' 0 ' ,
` Z ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` QuestID ` , ` Idx1 ` , ` Idx2 ` ) ,
KEY ` questId_id ` ( ` QuestID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `quest_pool_members`
--
DROP TABLE IF EXISTS ` quest_pool_members ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` quest_pool_members ` (
` questId ` int unsigned NOT NULL ,
` poolId ` int unsigned NOT NULL ,
` poolIndex ` tinyint unsigned NOT NULL COMMENT ' Multiple quests with the same index will always spawn together! ' ,
2022-01-15 23:33:52 +00:00
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
PRIMARY KEY ( ` questId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `quest_pool_template`
--
DROP TABLE IF EXISTS ` quest_pool_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` quest_pool_template ` (
` poolId ` int unsigned NOT NULL ,
` numActive ` int unsigned NOT NULL COMMENT ' Number of indices to have active at any time ' ,
2022-01-15 23:33:52 +00:00
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
PRIMARY KEY ( ` poolId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-03-21 17:09:25 +00:00
--
-- Table structure for table `quest_request_items`
--
DROP TABLE IF EXISTS ` quest_request_items ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` quest_request_items ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteOnComplete ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteOnIncomplete ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteOnCompleteDelay ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EmoteOnIncompleteDelay ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` CompletionText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-12-20 03:19:22 +00:00
--
-- Table structure for table `quest_request_items_conditional`
--
DROP TABLE IF EXISTS ` quest_request_items_conditional ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` quest_request_items_conditional ` (
` QuestId ` int NOT NULL ,
` PlayerConditionId ` int NOT NULL ,
` QuestgiverCreatureId ` int NOT NULL ,
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Text ` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` OrderIndex ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` QuestId ` , ` PlayerConditionId ` , ` QuestgiverCreatureId ` , ` locale ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2017-04-19 00:25:43 +01:00
--
-- Table structure for table `quest_request_items_locale`
--
DROP TABLE IF EXISTS ` quest_request_items_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` quest_request_items_locale ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` CompletionText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` ID ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-07-04 22:30:16 +00:00
--
-- Table structure for table `quest_reward_choice_items`
--
DROP TABLE IF EXISTS ` quest_reward_choice_items ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-07-04 22:30:16 +00:00
CREATE TABLE ` quest_reward_choice_items ` (
2022-01-02 21:29:31 +00:00
` QuestID ` int unsigned NOT NULL ,
` Type1 ` tinyint unsigned DEFAULT ' 0 ' ,
` Type2 ` tinyint unsigned DEFAULT ' 0 ' ,
` Type3 ` tinyint unsigned DEFAULT ' 0 ' ,
` Type4 ` tinyint unsigned DEFAULT ' 0 ' ,
` Type5 ` tinyint unsigned DEFAULT ' 0 ' ,
` Type6 ` tinyint unsigned DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
PRIMARY KEY ( ` QuestID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-07-04 22:30:16 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `quest_reward_display_spell`
--
DROP TABLE IF EXISTS ` quest_reward_display_spell ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-07-04 22:30:16 +00:00
CREATE TABLE ` quest_reward_display_spell ` (
2022-01-02 21:29:31 +00:00
` QuestID ` int unsigned NOT NULL ,
` Idx ` int unsigned NOT NULL ,
` SpellID ` int unsigned DEFAULT ' 0 ' ,
` PlayerConditionID ` int unsigned DEFAULT ' 0 ' ,
2023-07-14 08:35:02 +00:00
` Type ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
PRIMARY KEY ( ` QuestID ` , ` Idx ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-07-04 22:30:16 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `quest_template`
--
DROP TABLE IF EXISTS ` quest_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` quest_template ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` QuestType ` tinyint unsigned NOT NULL DEFAULT ' 2 ' ,
` QuestPackageID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ContentTuningID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` QuestSortID ` smallint NOT NULL DEFAULT ' 0 ' ,
` QuestInfoID ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` SuggestedGroupNum ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardNextQuest ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardXPDifficulty ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` RewardXPMultiplier ` float NOT NULL DEFAULT ' 1 ' ,
2022-01-02 21:29:31 +00:00
` RewardMoneyDifficulty ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` RewardMoneyMultiplier ` float NOT NULL DEFAULT ' 1 ' ,
2022-01-02 21:29:31 +00:00
` RewardBonusMoney ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardDisplaySpell1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardDisplaySpell2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardDisplaySpell3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardSpell ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardHonor ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardKillHonor ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StartItem ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardArtifactXPDifficulty ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` RewardArtifactXPMultiplier ` float NOT NULL DEFAULT ' 1 ' ,
2022-01-02 21:29:31 +00:00
` RewardArtifactCategoryID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` FlagsEx ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` FlagsEx2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardItem1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardAmount1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardItem2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardAmount2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardItem3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardAmount3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardItem4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardAmount4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemDrop1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemDropQuantity1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemDrop2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemDropQuantity2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemDrop3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemDropQuantity3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemDrop4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ItemDropQuantity4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemID1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemQuantity1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemDisplayID1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemID2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemQuantity2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemDisplayID2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemID3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemQuantity3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemDisplayID3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemID4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemQuantity4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemDisplayID4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemID5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemQuantity5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemDisplayID5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemID6 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemQuantity6 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardChoiceItemDisplayID6 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` POIContinent ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` POIx ` float NOT NULL DEFAULT ' 0 ' ,
` POIy ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` POIPriority ` int NOT NULL DEFAULT ' 0 ' ,
` RewardTitle ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardArenaPoints ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardSkillLineID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardNumSkillUps ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` PortraitGiver ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` PortraitGiverMount ` int NOT NULL DEFAULT ' 0 ' ,
` PortraitGiverModelSceneID ` int NOT NULL DEFAULT ' 0 ' ,
` PortraitTurnIn ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardFactionID1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardFactionValue1 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionOverride1 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionCapIn1 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionID2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardFactionValue2 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionOverride2 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionCapIn2 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionID3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardFactionValue3 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionOverride3 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionCapIn3 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionID4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardFactionValue4 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionOverride4 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionCapIn4 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionID5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardFactionValue5 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionOverride5 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionCapIn5 ` int NOT NULL DEFAULT ' 0 ' ,
` RewardFactionFlags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardCurrencyID1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardCurrencyQty1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardCurrencyID2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardCurrencyQty2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardCurrencyID3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardCurrencyQty3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardCurrencyID4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardCurrencyQty4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AcceptedSoundKitID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` CompleteSoundKitID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AreaGroupID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2023-07-14 08:35:02 +00:00
` TimeAllowed ` bigint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` AllowableRaces ` bigint unsigned DEFAULT ' 0 ' ,
` Expansion ` int NOT NULL DEFAULT ' 0 ' ,
` ManagedWorldStateID ` int NOT NULL DEFAULT ' 0 ' ,
` QuestSessionBonus ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` LogTitle ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` LogDescription ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` QuestDescription ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` AreaDescription ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` PortraitGiverText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` PortraitGiverName ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` PortraitTurnInText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` PortraitTurnInName ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` QuestCompletionLog ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2024-09-03 00:52:11 +00:00
` ResetByScheduler ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Quest System ' ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `quest_template_addon`
--
DROP TABLE IF EXISTS ` quest_template_addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` quest_template_addon ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` MaxLevel ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` AllowableClasses ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SourceSpellID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` PrevQuestID ` int NOT NULL DEFAULT ' 0 ' ,
` NextQuestID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ExclusiveGroup ` int NOT NULL DEFAULT ' 0 ' ,
` BreadcrumbForQuestId ` int NOT NULL DEFAULT ' 0 ' ,
` RewardMailTemplateID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RewardMailDelay ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RequiredSkillID ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` RequiredSkillPoints ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` RequiredMinRepFaction ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` RequiredMaxRepFaction ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` RequiredMinRepValue ` int NOT NULL DEFAULT ' 0 ' ,
` RequiredMaxRepValue ` int NOT NULL DEFAULT ' 0 ' ,
` ProvidedItemCount ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` SpecialFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `quest_template_locale`
--
DROP TABLE IF EXISTS ` quest_template_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` quest_template_locale ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` LogTitle ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` LogDescription ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` QuestDescription ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` AreaDescription ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` PortraitGiverText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` PortraitGiverName ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` PortraitTurnInText ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` PortraitTurnInName ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` QuestCompletionLog ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` ID ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2024-09-03 00:52:11 +00:00
--
-- Table structure for table `quest_treasure_pickers`
--
DROP TABLE IF EXISTS ` quest_treasure_pickers ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` quest_treasure_pickers ` (
` QuestID ` int unsigned NOT NULL ,
` TreasurePickerID ` int NOT NULL ,
` OrderIndex ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` QuestID ` , ` TreasurePickerID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-03-21 17:09:25 +00:00
--
-- Table structure for table `quest_visual_effect`
--
DROP TABLE IF EXISTS ` quest_visual_effect ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` quest_visual_effect ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Index ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VisualEffect ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` ID ` , ` Index ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2018-02-19 22:48:54 +00:00
-- Table structure for table `race_unlock_requirement`
2015-03-21 17:09:25 +00:00
--
2018-02-19 22:48:54 +00:00
DROP TABLE IF EXISTS ` race_unlock_requirement ` ;
2015-03-21 17:09:25 +00:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` race_unlock_requirement ` (
2022-01-02 21:29:31 +00:00
` raceID ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` expansion ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` achievementId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` raceID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `reference_loot_template`
--
DROP TABLE IF EXISTS ` reference_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` reference_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `reputation_reward_rate`
--
DROP TABLE IF EXISTS ` reputation_reward_rate ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` reputation_reward_rate ` (
2022-01-02 21:29:31 +00:00
` faction ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` quest_rate ` float NOT NULL DEFAULT ' 1 ' ,
` quest_daily_rate ` float NOT NULL DEFAULT ' 1 ' ,
` quest_weekly_rate ` float NOT NULL DEFAULT ' 1 ' ,
` quest_monthly_rate ` float NOT NULL DEFAULT ' 1 ' ,
` quest_repeatable_rate ` float NOT NULL DEFAULT ' 1 ' ,
` creature_rate ` float NOT NULL DEFAULT ' 1 ' ,
` spell_rate ` float NOT NULL DEFAULT ' 1 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` faction ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `reputation_spillover_template`
--
DROP TABLE IF EXISTS ` reputation_spillover_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` reputation_spillover_template ` (
2022-01-02 21:29:31 +00:00
` faction ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' faction entry ' ,
` faction1 ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' faction to give spillover for ' ,
2020-06-17 17:09:48 +00:00
` rate_1 ` float NOT NULL DEFAULT ' 0 ' COMMENT ' the given rep points * rate ' ,
2022-01-02 21:29:31 +00:00
` rank_1 ` tinyint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' max rank,above this will not give any spillover ' ,
` faction2 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` rate_2 ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` rank_2 ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` faction3 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` rate_3 ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` rank_3 ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` faction4 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` rate_4 ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` rank_4 ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` faction5 ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` rate_5 ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` rank_5 ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` faction ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Reputation spillover reputation gain ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2017-04-19 00:25:43 +01:00
--
-- Table structure for table `scenario_poi`
--
DROP TABLE IF EXISTS ` scenario_poi ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` scenario_poi ` (
2022-01-02 21:29:31 +00:00
` CriteriaTreeID ` int NOT NULL DEFAULT ' 0 ' ,
` BlobIndex ` int NOT NULL DEFAULT ' 0 ' ,
` Idx1 ` int NOT NULL DEFAULT ' 0 ' ,
` MapID ` int NOT NULL DEFAULT ' 0 ' ,
` UiMapID ` int NOT NULL DEFAULT ' 0 ' ,
` Priority ` int NOT NULL DEFAULT ' 0 ' ,
` Flags ` int NOT NULL DEFAULT ' 0 ' ,
` WorldEffectID ` int NOT NULL DEFAULT ' 0 ' ,
` PlayerConditionID ` int NOT NULL DEFAULT ' 0 ' ,
` NavigationPlayerConditionID ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` CriteriaTreeID ` , ` BlobIndex ` , ` Idx1 ` ) ,
KEY ` idx ` ( ` CriteriaTreeID ` , ` BlobIndex ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `scenario_poi_points`
--
DROP TABLE IF EXISTS ` scenario_poi_points ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` scenario_poi_points ` (
2022-01-02 21:29:31 +00:00
` CriteriaTreeID ` int NOT NULL DEFAULT ' 0 ' ,
` Idx1 ` int NOT NULL DEFAULT ' 0 ' ,
` Idx2 ` int NOT NULL DEFAULT ' 0 ' ,
` X ` int NOT NULL DEFAULT ' 0 ' ,
` Y ` int NOT NULL DEFAULT ' 0 ' ,
` Z ` int NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` CriteriaTreeID ` , ` Idx1 ` , ` Idx2 ` ) ,
KEY ` questId_id ` ( ` CriteriaTreeID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `scenarios`
--
DROP TABLE IF EXISTS ` scenarios ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` scenarios ` (
2022-01-02 21:29:31 +00:00
` map ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` difficulty ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` scenario_A ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` scenario_H ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` map ` , ` difficulty ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2016-10-16 17:38:56 +01:00
--
-- Table structure for table `scene_template`
--
DROP TABLE IF EXISTS ` scene_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2016-10-16 17:38:56 +01:00
CREATE TABLE ` scene_template ` (
2022-01-02 21:29:31 +00:00
` SceneId ` int unsigned NOT NULL ,
` Flags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ScriptPackageID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Encrypted ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2016-10-16 17:38:56 +01:00
PRIMARY KEY ( ` SceneId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2016-10-16 17:38:56 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2017-04-19 00:25:43 +01:00
--
-- Table structure for table `script_spline_chain_meta`
--
DROP TABLE IF EXISTS ` script_spline_chain_meta ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` script_spline_chain_meta ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL ,
` chainId ` smallint unsigned NOT NULL ,
` splineId ` tinyint unsigned NOT NULL ,
` expectedDuration ` int unsigned NOT NULL ,
` msUntilNext ` int unsigned NOT NULL ,
` velocity ` float NOT NULL DEFAULT ' 0 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` entry ` , ` chainId ` , ` splineId ` ) USING BTREE
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `script_spline_chain_waypoints`
--
DROP TABLE IF EXISTS ` script_spline_chain_waypoints ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2017-04-19 00:25:43 +01:00
CREATE TABLE ` script_spline_chain_waypoints ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL ,
` chainId ` smallint unsigned NOT NULL ,
` splineId ` tinyint unsigned NOT NULL ,
` wpId ` tinyint unsigned NOT NULL ,
2017-04-19 00:25:43 +01:00
` x ` float NOT NULL ,
` y ` float NOT NULL ,
` z ` float NOT NULL ,
PRIMARY KEY ( ` entry ` , ` chainId ` , ` splineId ` , ` wpId ` ) USING BTREE
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2017-04-19 00:25:43 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-07-04 22:30:16 +00:00
--
-- Table structure for table `serverside_spell`
--
DROP TABLE IF EXISTS ` serverside_spell ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-07-04 22:30:16 +00:00
CREATE TABLE ` serverside_spell ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL ,
` DifficultyID ` int NOT NULL DEFAULT ' 0 ' ,
` CategoryId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Dispel ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Mechanic ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Attributes ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx6 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx7 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx8 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx9 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx10 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx11 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx12 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx13 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesEx14 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2025-03-29 01:17:19 +00:00
` AttributesEx15 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Stances ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` StancesNot ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` Targets ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` TargetCreatureType ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RequiresSpellFocus ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` FacingCasterFlags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` CasterAuraState ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` TargetAuraState ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ExcludeCasterAuraState ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ExcludeTargetAuraState ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` CasterAuraSpell ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` TargetAuraSpell ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ExcludeCasterAuraSpell ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ExcludeTargetAuraSpell ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-12-20 03:19:22 +00:00
` CasterAuraType ` int NOT NULL DEFAULT ' 0 ' ,
` TargetAuraType ` int NOT NULL DEFAULT ' 0 ' ,
` ExcludeCasterAuraType ` int NOT NULL DEFAULT ' 0 ' ,
` ExcludeTargetAuraType ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` CastingTimeIndex ` int unsigned NOT NULL DEFAULT ' 1 ' ,
` RecoveryTime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` CategoryRecoveryTime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StartRecoveryCategory ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` StartRecoveryTime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` InterruptFlags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AuraInterruptFlags1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AuraInterruptFlags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ChannelInterruptFlags1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ChannelInterruptFlags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ProcFlags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` ProcFlags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` ProcChance ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ProcCharges ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ProcCooldown ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
` ProcBasePPM ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` MaxLevel ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` BaseLevel ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellLevel ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` DurationIndex ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` RangeIndex ` int unsigned NOT NULL DEFAULT ' 1 ' ,
2021-07-04 22:30:16 +00:00
` Speed ` float NOT NULL DEFAULT ' 0 ' ,
` LaunchDelay ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` StackAmount ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EquippedItemClass ` int NOT NULL DEFAULT ' -1 ' ,
` EquippedItemSubClassMask ` int NOT NULL DEFAULT ' 0 ' ,
` EquippedItemInventoryTypeMask ` int NOT NULL DEFAULT ' 0 ' ,
` ContentTuningId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellName ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2021-07-04 22:30:16 +00:00
` ConeAngle ` float NOT NULL DEFAULT ' 0 ' ,
` ConeWidth ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` MaxTargetLevel ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` MaxAffectedTargets ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyName ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyFlags1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyFlags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyFlags3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyFlags4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` DmgClass ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` PreventionType ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AreaGroupId ` int NOT NULL DEFAULT ' 0 ' ,
` SchoolMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ChargeCategoryId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
PRIMARY KEY ( ` Id ` , ` DifficultyID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-07-04 22:30:16 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `serverside_spell_effect`
--
DROP TABLE IF EXISTS ` serverside_spell_effect ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-07-04 22:30:16 +00:00
CREATE TABLE ` serverside_spell_effect ` (
2022-01-02 21:29:31 +00:00
` SpellID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EffectIndex ` int NOT NULL DEFAULT ' 0 ' ,
` DifficultyID ` int NOT NULL DEFAULT ' 0 ' ,
` Effect ` int NOT NULL DEFAULT ' 0 ' ,
` EffectAura ` smallint NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
` EffectAmplitude ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` EffectAttributes ` int NOT NULL DEFAULT ' 0 ' ,
` EffectAuraPeriod ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
` EffectBonusCoefficient ` float NOT NULL DEFAULT ' 0 ' ,
` EffectChainAmplitude ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` EffectChainTargets ` int NOT NULL DEFAULT ' 0 ' ,
` EffectItemType ` int NOT NULL DEFAULT ' 0 ' ,
` EffectMechanic ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
` EffectPointsPerResource ` float NOT NULL DEFAULT ' 0 ' ,
` EffectPosFacing ` float NOT NULL DEFAULT ' 0 ' ,
` EffectRealPointsPerLevel ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` EffectTriggerSpell ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
` BonusCoefficientFromAP ` float NOT NULL DEFAULT ' 0 ' ,
` PvpMultiplier ` float NOT NULL DEFAULT ' 0 ' ,
` Coefficient ` float NOT NULL DEFAULT ' 0 ' ,
` Variance ` float NOT NULL DEFAULT ' 0 ' ,
` ResourceCoefficient ` float NOT NULL DEFAULT ' 0 ' ,
` GroupSizeBasePointsCoefficient ` float NOT NULL DEFAULT ' 0 ' ,
` EffectBasePoints ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` EffectMiscValue1 ` int NOT NULL DEFAULT ' 0 ' ,
` EffectMiscValue2 ` int NOT NULL DEFAULT ' 0 ' ,
` EffectRadiusIndex1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EffectRadiusIndex2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EffectSpellClassMask1 ` int NOT NULL DEFAULT ' 0 ' ,
` EffectSpellClassMask2 ` int NOT NULL DEFAULT ' 0 ' ,
` EffectSpellClassMask3 ` int NOT NULL DEFAULT ' 0 ' ,
` EffectSpellClassMask4 ` int NOT NULL DEFAULT ' 0 ' ,
` ImplicitTarget1 ` smallint NOT NULL DEFAULT ' 0 ' ,
` ImplicitTarget2 ` smallint NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
PRIMARY KEY ( ` SpellID ` , ` EffectIndex ` , ` DifficultyID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-07-04 22:30:16 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `skill_discovery_template`
--
DROP TABLE IF EXISTS ` skill_discovery_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` skill_discovery_template ` (
2022-01-02 21:29:31 +00:00
` spellId ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' SpellId of the discoverable spell ' ,
` reqSpell ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' spell requirement ' ,
` reqSkillValue ` smallint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' skill points requirement ' ,
2020-06-17 17:09:48 +00:00
` chance ` float NOT NULL DEFAULT ' 0 ' COMMENT ' chance to discover ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` spellId ` , ` reqSpell ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Skill Discovery System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `skill_extra_item_template`
--
DROP TABLE IF EXISTS ` skill_extra_item_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` skill_extra_item_template ` (
2022-01-02 21:29:31 +00:00
` spellId ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' SpellId of the item creation spell ' ,
` requiredSpecialization ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Specialization spell id ' ,
2020-06-17 17:09:48 +00:00
` additionalCreateChance ` float NOT NULL DEFAULT ' 0 ' COMMENT ' chance to create add ' ,
2022-01-02 21:29:31 +00:00
` additionalMaxNum ` tinyint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' max num of adds ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` spellId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Skill Specialization System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `skill_fishing_base_level`
--
DROP TABLE IF EXISTS ` skill_fishing_base_level ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` skill_fishing_base_level ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Area identifier ' ,
` skill ` smallint NOT NULL DEFAULT ' 0 ' COMMENT ' Base skill level requirement ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Fishing system ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-11-08 01:36:49 +01:00
--
-- Table structure for table `skill_perfect_item_template`
--
DROP TABLE IF EXISTS ` skill_perfect_item_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-11-08 01:36:49 +01:00
CREATE TABLE ` skill_perfect_item_template ` (
2022-01-02 21:29:31 +00:00
` spellId ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' SpellId of the item creation spell ' ,
` requiredSpecialization ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Specialization spell id ' ,
2020-06-17 17:09:48 +00:00
` perfectCreateChance ` float NOT NULL DEFAULT ' 0 ' COMMENT ' chance to create the perfect item instead ' ,
2022-01-02 21:29:31 +00:00
` perfectItemType ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' perfect item type to create instead ' ,
2015-11-08 01:36:49 +01:00
PRIMARY KEY ( ` spellId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Crafting Perfection System ' ;
2015-11-08 01:36:49 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `skill_tiers`
--
DROP TABLE IF EXISTS ` skill_tiers ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` skill_tiers ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value6 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value7 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value8 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value9 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value10 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value11 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value12 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value13 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value14 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value15 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Value16 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `skinning_loot_template`
--
DROP TABLE IF EXISTS ` skinning_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` skinning_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `smart_scripts`
--
DROP TABLE IF EXISTS ` smart_scripts ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` smart_scripts ` (
2022-01-02 21:29:31 +00:00
` entryorguid ` bigint NOT NULL DEFAULT ' 0 ' ,
` source_type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` id ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` link ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2023-11-15 01:03:38 +00:00
` Difficulties ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2022-01-02 21:29:31 +00:00
` event_type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` event_phase_mask ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` event_chance ` tinyint unsigned NOT NULL DEFAULT ' 100 ' ,
` event_flags ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` event_param1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` event_param2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` event_param3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` event_param4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` event_param5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` event_param_string ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2022-01-02 21:29:31 +00:00
` action_type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` action_param1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` action_param2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` action_param3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` action_param4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` action_param5 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` action_param6 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2023-02-03 01:20:41 +00:00
` action_param7 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-05-11 03:11:14 +00:00
` action_param_string ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` target_type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` target_param1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` target_param2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` target_param3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` target_param4 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-05-11 03:11:14 +00:00
` target_param_string ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2020-06-17 17:09:48 +00:00
` target_x ` float NOT NULL DEFAULT ' 0 ' ,
` target_y ` float NOT NULL DEFAULT ' 0 ' ,
` target_z ` float NOT NULL DEFAULT ' 0 ' ,
` target_o ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` comment ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' Event Comment ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entryorguid ` , ` source_type ` , ` id ` , ` link ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2020-10-20 21:43:38 +00:00
--
-- Table structure for table `spawn_group`
--
DROP TABLE IF EXISTS ` spawn_group ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2020-10-20 21:43:38 +00:00
CREATE TABLE ` spawn_group ` (
2022-01-02 21:29:31 +00:00
` groupId ` int unsigned NOT NULL ,
` spawnType ` tinyint unsigned NOT NULL ,
` spawnId ` bigint unsigned NOT NULL ,
2020-10-20 21:43:38 +00:00
PRIMARY KEY ( ` groupId ` , ` spawnType ` , ` spawnId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2020-10-20 21:43:38 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spawn_group_template`
--
DROP TABLE IF EXISTS ` spawn_group_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2020-10-20 21:43:38 +00:00
CREATE TABLE ` spawn_group_template ` (
2022-01-02 21:29:31 +00:00
` groupId ` int unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` groupName ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` groupFlags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-10-20 21:43:38 +00:00
PRIMARY KEY ( ` groupId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2020-10-20 21:43:38 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2025-03-29 01:17:19 +00:00
--
-- Table structure for table `spawn_tracking`
--
DROP TABLE IF EXISTS ` spawn_tracking ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` spawn_tracking ` (
` SpawnTrackingId ` int unsigned NOT NULL ,
` SpawnType ` tinyint unsigned NOT NULL ,
` SpawnId ` bigint unsigned NOT NULL ,
` QuestObjectiveId ` int unsigned NOT NULL ,
PRIMARY KEY ( ` SpawnTrackingId ` , ` SpawnType ` , ` SpawnId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spawn_tracking_quest_objective`
--
DROP TABLE IF EXISTS ` spawn_tracking_quest_objective ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` spawn_tracking_quest_objective ` (
` SpawnTrackingId ` int unsigned NOT NULL ,
` QuestObjectiveId ` int unsigned NOT NULL ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` SpawnTrackingId ` , ` QuestObjectiveId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spawn_tracking_state`
--
DROP TABLE IF EXISTS ` spawn_tracking_state ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` spawn_tracking_state ` (
` SpawnType ` tinyint unsigned NOT NULL ,
` SpawnId ` bigint unsigned NOT NULL ,
` State ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` Visible ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` StateSpellVisualId ` int unsigned DEFAULT NULL ,
` StateAnimId ` smallint unsigned DEFAULT NULL ,
` StateAnimKitId ` smallint unsigned DEFAULT NULL ,
` StateWorldEffects ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
PRIMARY KEY ( ` SpawnType ` , ` SpawnId ` , ` State ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spawn_tracking_template`
--
DROP TABLE IF EXISTS ` spawn_tracking_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` spawn_tracking_template ` (
` SpawnTrackingId ` int unsigned NOT NULL ,
` MapId ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` PhaseId ` int NOT NULL DEFAULT ' 0 ' ,
` PhaseGroup ` int NOT NULL DEFAULT ' 0 ' ,
` PhaseUseFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` SpawnTrackingId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `spell_area`
--
DROP TABLE IF EXISTS ` spell_area ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_area ` (
2022-01-02 21:29:31 +00:00
` spell ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` area ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quest_start ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` quest_end ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` aura_spell ` int NOT NULL DEFAULT ' 0 ' ,
` racemask ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` gender ` tinyint unsigned NOT NULL DEFAULT ' 2 ' ,
` flags ` tinyint unsigned NOT NULL DEFAULT ' 3 ' ,
` quest_start_status ` int NOT NULL DEFAULT ' 64 ' ,
` quest_end_status ` int NOT NULL DEFAULT ' 11 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` spell ` , ` area ` , ` quest_start ` , ` aura_spell ` , ` racemask ` , ` gender ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_custom_attr`
--
DROP TABLE IF EXISTS ` spell_custom_attr ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_custom_attr ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' spell id ' ,
` attributes ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' SpellCustomAttributes ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' SpellInfo custom attributes ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_enchant_proc_data`
--
DROP TABLE IF EXISTS ` spell_enchant_proc_data ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_enchant_proc_data ` (
2022-01-02 21:29:31 +00:00
` EnchantID ` int unsigned NOT NULL ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 0 ' ,
` ProcsPerMinute ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` HitMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
PRIMARY KEY ( ` EnchantID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Spell enchant proc data ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_group`
--
DROP TABLE IF EXISTS ` spell_group ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_group ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` spell_id ` int NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` , ` spell_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Spell System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_group_stack_rules`
--
DROP TABLE IF EXISTS ` spell_group_stack_rules ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_group_stack_rules ` (
2022-01-02 21:29:31 +00:00
` group_id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` stack_rule ` tinyint NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` group_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_learn_spell`
--
DROP TABLE IF EXISTS ` spell_learn_spell ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_learn_spell ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Active ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` , ` SpellID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Item System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_linked_spell`
--
DROP TABLE IF EXISTS ` spell_linked_spell ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_linked_spell ` (
2022-01-02 21:29:31 +00:00
` spell_trigger ` int NOT NULL ,
` spell_effect ` int NOT NULL DEFAULT ' 0 ' ,
` type ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` comment ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2014-07-28 23:22:53 +01:00
UNIQUE KEY ` trigger_effect_type ` ( ` spell_trigger ` , ` spell_effect ` , ` type ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Spell System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_loot_template`
--
DROP TABLE IF EXISTS ` spell_loot_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_loot_template ` (
2022-01-02 21:29:31 +00:00
` Entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-03 00:52:11 +00:00
` ItemType ` tinyint NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Item ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` Chance ` float NOT NULL DEFAULT ' 100 ' ,
` QuestRequired ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` LootMode ` smallint unsigned NOT NULL DEFAULT ' 1 ' ,
` GroupId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` MinCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
` MaxCount ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
KEY ` idx_primary ` ( ` Entry ` , ` ItemType ` , ` Item ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Loot System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_pet_auras`
--
DROP TABLE IF EXISTS ` spell_pet_auras ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_pet_auras ` (
2022-01-02 21:29:31 +00:00
` spell ` int unsigned NOT NULL COMMENT ' dummy spell id ' ,
` effectId ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` pet ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' pet id; 0 = all ' ,
` aura ` int unsigned NOT NULL COMMENT ' pet aura id ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` spell ` , ` effectId ` , ` pet ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_proc`
--
DROP TABLE IF EXISTS ` spell_proc ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_proc ` (
2022-01-02 21:29:31 +00:00
` SpellId ` int NOT NULL DEFAULT ' 0 ' ,
` SchoolMask ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyName ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyMask0 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyMask1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyMask2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellFamilyMask3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ProcFlags ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` ProcFlags2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` SpellTypeMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellPhaseMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` HitMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` AttributesMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` DisableEffectsMask ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` ProcsPerMinute ` float NOT NULL DEFAULT ' 0 ' ,
` Chance ` float NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` Cooldown ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Charges ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2017-04-19 00:25:43 +01:00
PRIMARY KEY ( ` SpellId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_required`
--
DROP TABLE IF EXISTS ` spell_required ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_required ` (
2022-01-02 21:29:31 +00:00
` spell_id ` int NOT NULL DEFAULT ' 0 ' ,
` req_spell ` int NOT NULL DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` spell_id ` , ` req_spell ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Spell Additinal Data ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_script_names`
--
DROP TABLE IF EXISTS ` spell_script_names ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_script_names ` (
2022-01-02 21:29:31 +00:00
` spell_id ` int NOT NULL ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2014-07-28 23:22:53 +01:00
UNIQUE KEY ` spell_id ` ( ` spell_id ` , ` ScriptName ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_scripts`
--
DROP TABLE IF EXISTS ` spell_scripts ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_scripts ` (
2022-01-02 21:29:31 +00:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` effIndex ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` delay ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` command ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` datalong ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` datalong2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` dataint ` int NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` x ` float NOT NULL DEFAULT ' 0 ' ,
` y ` float NOT NULL DEFAULT ' 0 ' ,
` z ` float NOT NULL DEFAULT ' 0 ' ,
2022-03-06 15:20:27 +00:00
` o ` float NOT NULL DEFAULT ' 0 ' ,
2022-07-25 18:51:32 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' '
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_target_position`
--
DROP TABLE IF EXISTS ` spell_target_position ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_target_position ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` EffectIndex ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2025-03-29 01:17:19 +00:00
` OrderIndex ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-02 21:29:31 +00:00
` MapID ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2020-06-17 17:09:48 +00:00
` PositionX ` float NOT NULL DEFAULT ' 0 ' ,
` PositionY ` float NOT NULL DEFAULT ' 0 ' ,
` PositionZ ` float NOT NULL DEFAULT ' 0 ' ,
2024-02-08 01:00:58 +00:00
` Orientation ` float DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2025-03-29 01:17:19 +00:00
PRIMARY KEY ( ` ID ` , ` EffectIndex ` , ` OrderIndex ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Spell System ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `spell_threat`
--
DROP TABLE IF EXISTS ` spell_threat ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` spell_threat ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL ,
` flatMod ` int DEFAULT NULL ,
2020-06-17 17:09:48 +00:00
` pctMod ` float NOT NULL DEFAULT ' 1 ' COMMENT ' threat multiplier for damage/healing ' ,
` apPctMod ` float NOT NULL DEFAULT ' 0 ' COMMENT ' additional threat bonus from attack power ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-09-21 17:07:20 +02:00
--
2019-07-15 16:14:05 +02:00
-- Table structure for table `spell_totem_model`
2014-09-21 17:07:20 +02:00
--
2019-07-15 16:14:05 +02:00
DROP TABLE IF EXISTS ` spell_totem_model ` ;
2014-09-21 17:07:20 +02:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2019-07-15 16:14:05 +02:00
CREATE TABLE ` spell_totem_model ` (
2022-01-02 21:29:31 +00:00
` SpellID ` int unsigned NOT NULL ,
` RaceID ` tinyint unsigned NOT NULL ,
` DisplayID ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2019-07-15 16:14:05 +02:00
PRIMARY KEY ( ` SpellID ` , ` RaceID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-09-21 17:07:20 +02:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-07-14 00:05:36 +01:00
--
-- Table structure for table `terrain_swap_defaults`
--
DROP TABLE IF EXISTS ` terrain_swap_defaults ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` terrain_swap_defaults ` (
2022-01-02 21:29:31 +00:00
` MapId ` int unsigned NOT NULL ,
` TerrainSwapMap ` int unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2015-07-14 00:05:36 +01:00
PRIMARY KEY ( ` MapId ` , ` TerrainSwapMap ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `terrain_worldmap`
--
DROP TABLE IF EXISTS ` terrain_worldmap ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-07-14 00:05:36 +01:00
CREATE TABLE ` terrain_worldmap ` (
2022-01-02 21:29:31 +00:00
` TerrainSwapMap ` int unsigned NOT NULL ,
` UiMapPhaseId ` int unsigned NOT NULL ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2019-07-15 16:14:05 +02:00
PRIMARY KEY ( ` TerrainSwapMap ` , ` UiMapPhaseId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2015-07-14 00:05:36 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2018-02-19 22:48:54 +00:00
--
-- Table structure for table `trainer`
--
DROP TABLE IF EXISTS ` trainer ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` trainer ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` Type ` tinyint unsigned NOT NULL DEFAULT ' 2 ' ,
2022-01-15 23:33:52 +00:00
` Greeting ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` Id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `trainer_locale`
--
DROP TABLE IF EXISTS ` trainer_locale ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` trainer_locale ` (
2022-01-02 21:29:31 +00:00
` Id ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` locale ` varchar ( 4 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` Greeting_lang ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` Id ` , ` locale ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `trainer_spell`
--
DROP TABLE IF EXISTS ` trainer_spell ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2018-02-19 22:48:54 +00:00
CREATE TABLE ` trainer_spell ` (
2022-01-02 21:29:31 +00:00
` TrainerId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` SpellId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` MoneyCost ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ReqSkillLine ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ReqSkillRank ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ReqAbility1 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ReqAbility2 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ReqAbility3 ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` ReqLevel ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
2018-02-19 22:48:54 +00:00
PRIMARY KEY ( ` TrainerId ` , ` SpellId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2018-02-19 22:48:54 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `transports`
--
DROP TABLE IF EXISTS ` transports ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` transports ` (
2022-01-02 21:29:31 +00:00
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` name ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2022-01-02 21:29:31 +00:00
` phaseUseFlags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` phaseid ` int NOT NULL DEFAULT ' 0 ' ,
` phasegroup ` int NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` ) ,
UNIQUE KEY ` idx_entry ` ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Transports ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `trinity_string`
--
DROP TABLE IF EXISTS ` trinity_string ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` trinity_string ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` content_default ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
` content_loc1 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` content_loc2 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` content_loc3 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` content_loc4 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` content_loc5 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` content_loc6 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` content_loc7 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
` content_loc8 ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2024-09-03 00:52:11 +00:00
--
-- Table structure for table `ui_map_quest`
--
DROP TABLE IF EXISTS ` ui_map_quest ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` ui_map_quest ` (
` UiMapId ` int unsigned NOT NULL ,
` QuestId ` int unsigned NOT NULL ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` UiMapId ` , ` QuestId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `ui_map_quest_line`
--
DROP TABLE IF EXISTS ` ui_map_quest_line ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` ui_map_quest_line ` (
` UiMapId ` int unsigned NOT NULL ,
` QuestLineId ` int unsigned NOT NULL ,
` VerifiedBuild ` int NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` UiMapId ` , ` QuestLineId ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2015-03-21 17:09:25 +00:00
--
-- Table structure for table `updates`
--
DROP TABLE IF EXISTS ` updates ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` updates ` (
2022-01-15 23:33:52 +00:00
` name ` varchar ( 200 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' filename with extension of the update. ' ,
` hash ` char ( 40 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT ' ' COMMENT ' sha1 hash of the sql file. ' ,
` state ` enum ( ' RELEASED ' , ' ARCHIVED ' ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' RELEASED ' COMMENT ' defines if an update is released or archived. ' ,
2020-06-17 17:09:48 +00:00
` timestamp ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT ' timestamp when the query was applied. ' ,
2022-01-02 21:29:31 +00:00
` speed ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' time the query takes to apply in ms. ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` name ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' List of all applied updates in this database. ' ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `updates_include`
--
DROP TABLE IF EXISTS ` updates_include ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2015-03-21 17:09:25 +00:00
CREATE TABLE ` updates_include ` (
2022-01-15 23:33:52 +00:00
` path ` varchar ( 200 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' directory to include. $ means relative to the source directory. ' ,
` state ` enum ( ' RELEASED ' , ' ARCHIVED ' ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' RELEASED ' COMMENT ' defines if the directory contains released or archived updates. ' ,
2015-03-21 17:09:25 +00:00
PRIMARY KEY ( ` path ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' List of directories where we want to include sql updates. ' ;
2015-03-21 17:09:25 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `vehicle_accessory`
--
DROP TABLE IF EXISTS ` vehicle_accessory ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` vehicle_accessory ` (
2022-01-02 21:29:31 +00:00
` guid ` bigint unsigned NOT NULL DEFAULT ' 0 ' ,
` accessory_entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` seat_id ` tinyint NOT NULL DEFAULT ' 0 ' ,
` minion ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` description ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` summontype ` tinyint unsigned NOT NULL DEFAULT ' 6 ' COMMENT ' see enum TempSummonType ' ,
` summontimer ` int unsigned NOT NULL DEFAULT ' 30000 ' COMMENT ' timer, only relevant for certain summontypes ' ,
2025-03-29 01:17:19 +00:00
` RideSpellID ` int DEFAULT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` guid ` , ` seat_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Table structure for table `vehicle_seat_addon`
--
DROP TABLE IF EXISTS ` vehicle_seat_addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` vehicle_seat_addon ` (
` SeatEntry ` int unsigned NOT NULL COMMENT ' VehicleSeatEntry.dbc identifier ' ,
` SeatOrientation ` float DEFAULT ' 0 ' COMMENT ' Seat Orientation override value ' ,
` ExitParamX ` float DEFAULT ' 0 ' ,
` ExitParamY ` float DEFAULT ' 0 ' ,
` ExitParamZ ` float DEFAULT ' 0 ' ,
` ExitParamO ` float DEFAULT ' 0 ' ,
` ExitParamValue ` tinyint ( 1 ) DEFAULT ' 0 ' ,
PRIMARY KEY ( ` SeatEntry ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-07-04 22:30:16 +00:00
--
-- Table structure for table `vehicle_template`
--
DROP TABLE IF EXISTS ` vehicle_template ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2021-07-04 22:30:16 +00:00
CREATE TABLE ` vehicle_template ` (
2022-01-02 21:29:31 +00:00
` creatureId ` int unsigned NOT NULL ,
` despawnDelayMs ` int NOT NULL DEFAULT ' 0 ' ,
2021-07-04 22:30:16 +00:00
PRIMARY KEY ( ` creatureId ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2021-07-04 22:30:16 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `vehicle_template_accessory`
--
DROP TABLE IF EXISTS ` vehicle_template_accessory ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` vehicle_template_accessory ` (
2022-01-02 21:29:31 +00:00
` entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` accessory_entry ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` seat_id ` tinyint NOT NULL DEFAULT ' 0 ' ,
` minion ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2022-01-15 23:33:52 +00:00
` description ` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL ,
2022-01-02 21:29:31 +00:00
` summontype ` tinyint unsigned NOT NULL DEFAULT ' 6 ' COMMENT ' see enum TempSummonType ' ,
` summontimer ` int unsigned NOT NULL DEFAULT ' 30000 ' COMMENT ' timer, only relevant for certain summontypes ' ,
2025-03-29 01:17:19 +00:00
` RideSpellID ` int DEFAULT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` entry ` , ` seat_id ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2018-02-19 22:48:54 +00:00
-- Table structure for table `version`
2014-07-28 23:22:53 +01:00
--
DROP TABLE IF EXISTS ` version ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` version ` (
2022-01-15 23:33:52 +00:00
` core_version ` varchar ( 250 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' COMMENT ' Core revision dumped at startup. ' ,
` core_revision ` varchar ( 120 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
` db_version ` varchar ( 120 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT ' Version of world DB. ' ,
2022-01-02 21:29:31 +00:00
` cache_id ` int DEFAULT ' 0 ' ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` core_version ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' Version Notes ' ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2022-03-06 15:20:27 +00:00
--
-- Temporary view structure for view `vw_conditions_with_labels`
--
DROP TABLE IF EXISTS ` vw_conditions_with_labels ` ;
/* !50001 DROP VIEW IF EXISTS `vw_conditions_with_labels` */ ;
SET @ saved_cs_client = @ @ character_set_client ;
/* !50503 SET character_set_client = utf8mb4 */ ;
/* !50001 CREATE VIEW `vw_conditions_with_labels` AS SELECT
1 AS ` SourceTypeOrReferenceId ` ,
1 AS ` SourceGroup ` ,
1 AS ` SourceEntry ` ,
1 AS ` SourceId ` ,
1 AS ` ElseGroup ` ,
1 AS ` ConditionTypeOrReference ` ,
1 AS ` ConditionTarget ` ,
1 AS ` ConditionValue1 ` ,
1 AS ` ConditionValue2 ` ,
1 AS ` ConditionValue3 ` ,
1 AS ` NegativeCondition ` ,
1 AS ` ErrorType ` ,
1 AS ` ErrorTextId ` ,
1 AS ` ScriptName ` ,
1 AS ` Comment ` * / ;
SET character_set_client = @ saved_cs_client ;
--
-- Temporary view structure for view `vw_disables_with_labels`
--
DROP TABLE IF EXISTS ` vw_disables_with_labels ` ;
/* !50001 DROP VIEW IF EXISTS `vw_disables_with_labels` */ ;
SET @ saved_cs_client = @ @ character_set_client ;
/* !50503 SET character_set_client = utf8mb4 */ ;
/* !50001 CREATE VIEW `vw_disables_with_labels` AS SELECT
1 AS ` sourceType ` ,
1 AS ` entry ` ,
1 AS ` flags ` ,
1 AS ` params_0 ` ,
1 AS ` params_1 ` ,
1 AS ` comment ` * / ;
SET character_set_client = @ saved_cs_client ;
--
-- Temporary view structure for view `vw_smart_scripts_with_labels`
--
DROP TABLE IF EXISTS ` vw_smart_scripts_with_labels ` ;
/* !50001 DROP VIEW IF EXISTS `vw_smart_scripts_with_labels` */ ;
SET @ saved_cs_client = @ @ character_set_client ;
/* !50503 SET character_set_client = utf8mb4 */ ;
/* !50001 CREATE VIEW `vw_smart_scripts_with_labels` AS SELECT
1 AS ` entryorguid ` ,
1 AS ` source_type ` ,
1 AS ` id ` ,
1 AS ` link ` ,
1 AS ` event_type ` ,
1 AS ` event_phase_mask ` ,
1 AS ` event_chance ` ,
1 AS ` event_flags ` ,
1 AS ` event_param1 ` ,
1 AS ` event_param2 ` ,
1 AS ` event_param3 ` ,
1 AS ` event_param4 ` ,
1 AS ` event_param5 ` ,
1 AS ` action_type ` ,
1 AS ` action_param1 ` ,
1 AS ` action_param2 ` ,
1 AS ` action_param3 ` ,
1 AS ` action_param4 ` ,
1 AS ` action_param5 ` ,
1 AS ` action_param6 ` ,
1 AS ` target_type ` ,
1 AS ` target_param1 ` ,
1 AS ` target_param2 ` ,
1 AS ` target_param3 ` ,
1 AS ` target_param4 ` ,
1 AS ` target_x ` ,
1 AS ` target_y ` ,
1 AS ` target_z ` ,
1 AS ` target_o ` ,
1 AS ` comment ` * / ;
SET character_set_client = @ saved_cs_client ;
2014-07-28 23:22:53 +01:00
--
-- Table structure for table `warden_checks`
--
DROP TABLE IF EXISTS ` warden_checks ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2014-07-28 23:22:53 +01:00
CREATE TABLE ` warden_checks ` (
2022-01-02 21:29:31 +00:00
` id ` smallint unsigned NOT NULL AUTO_INCREMENT ,
` type ` tinyint unsigned DEFAULT NULL ,
2022-07-25 18:51:32 +00:00
` str ` varchar ( 170 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-01-02 21:29:31 +00:00
` address ` int unsigned DEFAULT NULL ,
` length ` tinyint unsigned DEFAULT NULL ,
2022-01-15 23:33:52 +00:00
` comment ` varchar ( 50 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2022-03-06 15:20:27 +00:00
` data ` binary ( 24 ) DEFAULT NULL ,
` result ` varbinary ( 24 ) DEFAULT NULL ,
2014-07-28 23:22:53 +01:00
PRIMARY KEY ( ` id ` )
2022-03-06 15:20:27 +00:00
) ENGINE = InnoDB AUTO_INCREMENT = 791 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2024-02-08 01:00:58 +00:00
-- Table structure for table `waypoint_path`
2014-07-28 23:22:53 +01:00
--
2024-02-08 01:00:58 +00:00
DROP TABLE IF EXISTS ` waypoint_path ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2024-02-08 01:00:58 +00:00
CREATE TABLE ` waypoint_path ` (
` PathId ` int unsigned NOT NULL ,
` MoveType ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` Flags ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2024-05-11 03:11:14 +00:00
` Velocity ` float DEFAULT NULL ,
2024-02-08 01:00:58 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
PRIMARY KEY ( ` PathId ` ) USING BTREE
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2024-02-08 01:00:58 +00:00
-- Table structure for table `waypoint_path_node`
2014-07-28 23:22:53 +01:00
--
2024-02-08 01:00:58 +00:00
DROP TABLE IF EXISTS ` waypoint_path_node ` ;
2014-07-28 23:22:53 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2024-02-08 01:00:58 +00:00
CREATE TABLE ` waypoint_path_node ` (
` PathId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` NodeId ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` PositionX ` float NOT NULL DEFAULT ' 0 ' ,
` PositionY ` float NOT NULL DEFAULT ' 0 ' ,
` PositionZ ` float NOT NULL DEFAULT ' 0 ' ,
` Orientation ` float DEFAULT NULL ,
` Delay ` int unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` PathId ` , ` NodeId ` ) USING BTREE
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2014-07-28 23:22:53 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2020-06-17 17:09:48 +00:00
--
-- Table structure for table `world_safe_locs`
--
DROP TABLE IF EXISTS ` world_safe_locs ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2022-01-02 21:29:31 +00:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2020-06-17 17:09:48 +00:00
CREATE TABLE ` world_safe_locs ` (
2022-01-02 21:29:31 +00:00
` ID ` int unsigned NOT NULL ,
` MapID ` int unsigned DEFAULT NULL ,
2020-06-17 17:09:48 +00:00
` LocX ` float DEFAULT NULL ,
` LocY ` float DEFAULT NULL ,
` LocZ ` float DEFAULT NULL ,
` Facing ` float DEFAULT NULL ,
2024-09-03 00:52:11 +00:00
` TransportSpawnId ` bigint unsigned DEFAULT NULL ,
2022-01-15 23:33:52 +00:00
` Comment ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
2020-06-17 17:09:48 +00:00
PRIMARY KEY ( ` ID ` )
2022-01-02 21:29:31 +00:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
2020-06-17 17:09:48 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2020-10-20 21:43:38 +00:00
2022-07-25 18:51:32 +00:00
--
-- Table structure for table `world_state`
--
DROP TABLE IF EXISTS ` world_state ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` world_state ` (
` ID ` int NOT NULL ,
` DefaultValue ` int NOT NULL ,
` MapIDs ` varchar ( 128 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
` AreaIDs ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
` ScriptName ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' ,
` Comment ` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ,
PRIMARY KEY ( ` ID ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
2020-10-20 21:43:38 +00:00
--
-- Dumping routines for database 'world'
--
2022-03-06 15:20:27 +00:00
--
-- Final view structure for view `vw_conditions_with_labels`
--
/* !50001 DROP VIEW IF EXISTS `vw_conditions_with_labels` */ ;
/* !50001 SET @saved_cs_client = @@character_set_client */ ;
/* !50001 SET @saved_cs_results = @@character_set_results */ ;
/* !50001 SET @saved_col_connection = @@collation_connection */ ;
2022-07-25 18:51:32 +00:00
/* !50001 SET character_set_client = utf8mb3 */ ;
/* !50001 SET character_set_results = utf8mb3 */ ;
2022-08-19 23:51:29 +00:00
/* !50001 SET collation_connection = utf8mb3_general_ci */ ;
2022-03-06 15:20:27 +00:00
/* !50001 CREATE ALGORITHM=UNDEFINED */
2024-11-16 22:02:37 +00:00
/* !50013 SQL SECURITY DEFINER */
2022-03-06 15:20:27 +00:00
/* !50001 VIEW `vw_conditions_with_labels` AS select (case when (`conditions`.`SourceTypeOrReferenceId` = 0) then 'CONDITION_SOURCE_TYPE_NONE' when (`conditions`.`SourceTypeOrReferenceId` = 1) then 'CONDITION_SOURCE_TYPE_CREATURE_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 2) then 'CONDITION_SOURCE_TYPE_DISENCHANT_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 3) then 'CONDITION_SOURCE_TYPE_FISHING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 4) then 'CONDITION_SOURCE_TYPE_GAMEOBJECT_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 5) then 'CONDITION_SOURCE_TYPE_ITEM_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 6) then 'CONDITION_SOURCE_TYPE_MAIL_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 7) then 'CONDITION_SOURCE_TYPE_MILLING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 8) then 'CONDITION_SOURCE_TYPE_PICKPOCKETING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 9) then 'CONDITION_SOURCE_TYPE_PROSPECTING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 10) then 'CONDITION_SOURCE_TYPE_REFERENCE_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 11) then 'CONDITION_SOURCE_TYPE_SKINNING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 12) then 'CONDITION_SOURCE_TYPE_SPELL_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 13) then 'CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET' when (`conditions`.`SourceTypeOrReferenceId` = 14) then 'CONDITION_SOURCE_TYPE_GOSSIP_MENU' when (`conditions`.`SourceTypeOrReferenceId` = 15) then 'CONDITION_SOURCE_TYPE_GOSSIP_MENU_OPTION' when (`conditions`.`SourceTypeOrReferenceId` = 16) then 'CONDITION_SOURCE_TYPE_CREATURE_TEMPLATE_VEHICLE' when (`conditions`.`SourceTypeOrReferenceId` = 17) then 'CONDITION_SOURCE_TYPE_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 18) then 'CONDITION_SOURCE_TYPE_SPELL_CLICK_EVENT' when (`conditions`.`SourceTypeOrReferenceId` = 19) then 'CONDITION_SOURCE_TYPE_QUEST_AVAILABLE' when (`conditions`.`SourceTypeOrReferenceId` = 21) then 'CONDITION_SOURCE_TYPE_VEHICLE_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 22) then 'CONDITION_SOURCE_TYPE_SMART_EVENT' when (`conditions`.`SourceTypeOrReferenceId` = 23) then 'CONDITION_SOURCE_TYPE_NPC_VENDOR' when (`conditions`.`SourceTypeOrReferenceId` = 24) then 'CONDITION_SOURCE_TYPE_SPELL_PROC' when (`conditions`.`SourceTypeOrReferenceId` = 25) then 'CONDITION_SOURCE_TYPE_TERRAIN_SWAP' when (`conditions`.`SourceTypeOrReferenceId` = 26) then 'CONDITION_SOURCE_TYPE_PHASE' when (`conditions`.`SourceTypeOrReferenceId` = 27) then 'CONDITION_SOURCE_TYPE_GRAVEYARD' when (`conditions`.`SourceTypeOrReferenceId` = 28) then 'CONDITION_SOURCE_TYPE_AREATRIGGER' when (`conditions`.`SourceTypeOrReferenceId` = 29) then 'CONDITION_SOURCE_TYPE_CONVERSATION_LINE' when (`conditions`.`SourceTypeOrReferenceId` = 30) then 'CONDITION_SOURCE_TYPE_AREATRIGGER_CLIENT_TRIGGERED' when (`conditions`.`SourceTypeOrReferenceId` = 31) then 'CONDITION_SOURCE_TYPE_TRAINER_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 32) then 'CONDITION_SOURCE_TYPE_OBJECT_ID_VISIBILITY' else `conditions`.`SourceTypeOrReferenceId` end) AS `SourceTypeOrReferenceId`,`conditions`.`SourceGroup` AS `SourceGroup`,`conditions`.`SourceEntry` AS `SourceEntry`,`conditions`.`SourceId` AS `SourceId`,`conditions`.`ElseGroup` AS `ElseGroup`,(case when (`conditions`.`SourceTypeOrReferenceId` = 0) then 'CONDITION_NONE' when (`conditions`.`SourceTypeOrReferenceId` = 1) then 'CONDITION_AURA' when (`conditions`.`SourceTypeOrReferenceId` = 2) then 'CONDITION_ITEM' when (`conditions`.`SourceTypeOrReferenceId` = 3) then 'CONDITION_ITEM_EQUIPPED' when (`conditions`.`SourceTypeOrReferenceId` = 4) then 'CONDITION_ZONEID' when (`conditions`.`SourceTypeOrReferenceId` = 5) then 'CONDITION_REPUTATION_RANK' when (`conditions`.`SourceTypeOrReferenceId` = 6) then 'CONDITION_TEAM' when (`conditions`.`SourceTypeOrReferenceId` = 7) then 'CONDITION_SKILL' when (`conditions`.`SourceTypeOrReferenceId` = 8) then 'CONDITION_Q
/* !50001 SET character_set_client = @saved_cs_client */ ;
/* !50001 SET character_set_results = @saved_cs_results */ ;
/* !50001 SET collation_connection = @saved_col_connection */ ;
--
-- Final view structure for view `vw_disables_with_labels`
--
/* !50001 DROP VIEW IF EXISTS `vw_disables_with_labels` */ ;
/* !50001 SET @saved_cs_client = @@character_set_client */ ;
/* !50001 SET @saved_cs_results = @@character_set_results */ ;
/* !50001 SET @saved_col_connection = @@collation_connection */ ;
2022-07-25 18:51:32 +00:00
/* !50001 SET character_set_client = utf8mb3 */ ;
/* !50001 SET character_set_results = utf8mb3 */ ;
2022-08-19 23:51:29 +00:00
/* !50001 SET collation_connection = utf8mb3_general_ci */ ;
2022-03-06 15:20:27 +00:00
/* !50001 CREATE ALGORITHM=UNDEFINED */
2024-11-16 22:02:37 +00:00
/* !50013 SQL SECURITY DEFINER */
2022-03-06 15:20:27 +00:00
/* !50001 VIEW `vw_disables_with_labels` AS select (case when (`disables`.`sourceType` = 0) then 'DISABLE_TYPE_SPELL' when (`disables`.`sourceType` = 1) then 'DISABLE_TYPE_QUEST' when (`disables`.`sourceType` = 2) then 'DISABLE_TYPE_MAP' when (`disables`.`sourceType` = 3) then 'DISABLE_TYPE_BATTLEGROUND' when (`disables`.`sourceType` = 4) then 'DISABLE_TYPE_ACHIEVEMENT_CRITERIA' when (`disables`.`sourceType` = 5) then 'DISABLE_TYPE_OUTDOORPVP' when (`disables`.`sourceType` = 6) then 'DISABLE_TYPE_VMAP' when (`disables`.`sourceType` = 7) then 'DISABLE_TYPE_MMAP' when (`disables`.`sourceType` = 8) then 'DISABLE_TYPE_LFG_MAP' else `disables`.`sourceType` end) AS `sourceType`,`disables`.`entry` AS `entry`,`disables`.`flags` AS `flags`,`disables`.`params_0` AS `params_0`,`disables`.`params_1` AS `params_1`,`disables`.`comment` AS `comment` from `disables` */ ;
/* !50001 SET character_set_client = @saved_cs_client */ ;
/* !50001 SET character_set_results = @saved_cs_results */ ;
/* !50001 SET collation_connection = @saved_col_connection */ ;
--
-- Final view structure for view `vw_smart_scripts_with_labels`
--
/* !50001 DROP VIEW IF EXISTS `vw_smart_scripts_with_labels` */ ;
/* !50001 SET @saved_cs_client = @@character_set_client */ ;
/* !50001 SET @saved_cs_results = @@character_set_results */ ;
/* !50001 SET @saved_col_connection = @@collation_connection */ ;
2022-07-25 18:51:32 +00:00
/* !50001 SET character_set_client = utf8mb3 */ ;
/* !50001 SET character_set_results = utf8mb3 */ ;
2022-08-19 23:51:29 +00:00
/* !50001 SET collation_connection = utf8mb3_general_ci */ ;
2022-03-06 15:20:27 +00:00
/* !50001 CREATE ALGORITHM=UNDEFINED */
2024-11-16 22:02:37 +00:00
/* !50013 SQL SECURITY DEFINER */
2022-03-06 15:20:27 +00:00
/* !50001 VIEW `vw_smart_scripts_with_labels` AS select `smart_scripts`.`entryorguid` AS `entryorguid`,`smart_scripts`.`source_type` AS `source_type`,`smart_scripts`.`id` AS `id`,`smart_scripts`.`link` AS `link`,(case `smart_scripts`.`event_type` when 0 then 'SMART_EVENT_UPDATE_IC' when 1 then 'SMART_EVENT_UPDATE_OOC' when 2 then 'SMART_EVENT_HEALTH_PCT' when 3 then 'SMART_EVENT_MANA_PCT' when 4 then 'SMART_EVENT_AGGRO' when 5 then 'SMART_EVENT_KILL' when 6 then 'SMART_EVENT_DEATH' when 7 then 'SMART_EVENT_EVADE' when 8 then 'SMART_EVENT_SPELLHIT' when 9 then 'SMART_EVENT_RANGE' when 10 then 'SMART_EVENT_OOC_LOS' when 11 then 'SMART_EVENT_RESPAWN' when 12 then 'SMART_EVENT_TARGET_HEALTH_PCT' when 13 then 'SMART_EVENT_VICTIM_CASTING' when 14 then 'SMART_EVENT_FRIENDLY_HEALTH' when 15 then 'SMART_EVENT_FRIENDLY_IS_CC' when 16 then 'SMART_EVENT_FRIENDLY_MISSING_BUFF' when 17 then 'SMART_EVENT_SUMMONED_UNIT' when 18 then 'SMART_EVENT_TARGET_MANA_PCT' when 19 then 'SMART_EVENT_ACCEPTED_QUEST' when 20 then 'SMART_EVENT_REWARD_QUEST' when 21 then 'SMART_EVENT_REACHED_HOME' when 22 then 'SMART_EVENT_RECEIVE_EMOTE' when 23 then 'SMART_EVENT_HAS_AURA' when 24 then 'SMART_EVENT_TARGET_BUFFED' when 25 then 'SMART_EVENT_RESET' when 26 then 'SMART_EVENT_IC_LOS' when 27 then 'SMART_EVENT_PASSENGER_BOARDED' when 28 then 'SMART_EVENT_PASSENGER_REMOVED' when 29 then 'SMART_EVENT_CHARMED' when 30 then 'SMART_EVENT_CHARMED_TARGET' when 31 then 'SMART_EVENT_SPELLHIT_TARGET' when 32 then 'SMART_EVENT_DAMAGED' when 33 then 'SMART_EVENT_DAMAGED_TARGET' when 34 then 'SMART_EVENT_MOVEMENTINFORM' when 35 then 'SMART_EVENT_SUMMON_DESPAWNED' when 36 then 'SMART_EVENT_CORPSE_REMOVED' when 37 then 'SMART_EVENT_AI_INIT' when 38 then 'SMART_EVENT_DATA_SET' when 39 then 'SMART_EVENT_WAYPOINT_START' when 40 then 'SMART_EVENT_WAYPOINT_REACHED' when 41 then 'SMART_EVENT_TRANSPORT_ADDPLAYER' when 42 then 'SMART_EVENT_TRANSPORT_ADDCREATURE' when 43 then 'SMART_EVENT_TRANSPORT_REMOVE_PLAYER' when 44 then 'SMART_EVENT_TRANSPORT_RELOCATE' when 45 then 'SMART_EVENT_INSTANCE_PLAYER_ENTER' when 46 then 'SMART_EVENT_AREATRIGGER_ONTRIGGER' when 47 then 'SMART_EVENT_QUEST_ACCEPTED' when 48 then 'SMART_EVENT_QUEST_OBJ_COPLETETION' when 49 then 'SMART_EVENT_QUEST_COMPLETION' when 50 then 'SMART_EVENT_QUEST_REWARDED' when 51 then 'SMART_EVENT_QUEST_FAIL' when 52 then 'SMART_EVENT_TEXT_OVER' when 53 then 'SMART_EVENT_RECEIVE_HEAL' when 54 then 'SMART_EVENT_JUST_SUMMONED' when 55 then 'SMART_EVENT_WAYPOINT_PAUSED' when 56 then 'SMART_EVENT_WAYPOINT_RESUMED' when 57 then 'SMART_EVENT_WAYPOINT_STOPPED' when 58 then 'SMART_EVENT_WAYPOINT_ENDED' when 59 then 'SMART_EVENT_TIMED_EVENT_TRIGGERED' when 60 then 'SMART_EVENT_UPDATE' when 61 then 'SMART_EVENT_LINK' when 62 then 'SMART_EVENT_GOSSIP_SELECT' when 63 then 'SMART_EVENT_JUST_CREATED' when 64 then 'SMART_EVENT_GOSSIP_HELLO' when 65 then 'SMART_EVENT_FOLLOW_COMPLETED' when 66 then 'SMART_EVENT_EVENT_PHASE_CHANGE' when 67 then 'SMART_EVENT_IS_BEHIND_TARGET' when 68 then 'SMART_EVENT_GAME_EVENT_START' when 69 then 'SMART_EVENT_GAME_EVENT_END' when 70 then 'SMART_EVENT_GO_LOOT_STATE_CHANGED' when 71 then 'SMART_EVENT_GO_EVENT_INFORM' when 72 then 'SMART_EVENT_ACTION_DONE' when 73 then 'SMART_EVENT_ON_SPELLCLICK' when 74 then 'SMART_EVENT_FRIENDLY_HEALTH_PCT' when 75 then 'SMART_EVENT_DISTANCE_CREATURE' when 76 then 'SMART_EVENT_DISTANCE_GAMEOBJECT' when 77 then 'SMART_EVENT_COUNTER_SET' when 78 then 'SMART_EVENT_SCENE_START' when 79 then 'SMART_EVENT_SCENE_TRIGGER' when 80 then 'SMART_EVENT_SCENE_CANCEL' when 81 then 'SMART_EVENT_SCENE_COMPLETE' when 82 then 'SMART_EVENT_SUMMONED_UNIT_DIES' else `smart_scripts`.`event_type` end) AS `event_type`,`smart_scripts`.`event_phase_mask` AS `event_phase_mask`,`smart_scripts`.`event_chance` AS `event_chance`,`smart_scripts`.`event_flags` AS `event_flags`,`smart_scripts`.`event_param1` AS `event_param1`,`smart_scripts`.`event_param2` AS `event_param2`,`smart_scripts`.`event_param3` AS `event_param3`,`smart_scripts`.`event_param4` AS `event_param4`,`smart_scripts`.`event_param5` AS `event_
/* !50001 SET character_set_client = @saved_cs_client */ ;
/* !50001 SET character_set_results = @saved_cs_results */ ;
/* !50001 SET collation_connection = @saved_col_connection */ ;
2014-07-28 23:22:53 +01:00
/* !40103 SET TIME_ZONE=@OLD_TIME_ZONE */ ;
/* !40101 SET SQL_MODE=@OLD_SQL_MODE */ ;
/* !40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */ ;
/* !40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */ ;
/* !40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */ ;
/* !40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */ ;
/* !40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */ ;
/* !40111 SET SQL_NOTES=@OLD_SQL_NOTES */ ;
2025-03-29 01:17:19 +00:00
-- Dump completed on 2025-03-29 1:12:17