mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Merge remote branch 'origin/master' into 330
Conflicts: src/game/ObjectMgr.h
This commit is contained in:
commit
7c6cae1af7
58 changed files with 1937 additions and 990 deletions
288
sql/mangos.sql
288
sql/mangos.sql
|
|
@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
|
|||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`cache_id` int(10) default '0',
|
||||
`required_8912_01_mangos_spell_proc_event` bit(1) default NULL
|
||||
`required_8965_02_mangos_command` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -705,6 +705,7 @@ INSERT INTO `command` VALUES
|
|||
('quest add',3,'Syntax: .quest add #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.'),
|
||||
('quest complete',3,'Syntax: .quest complete #questid\r\nMark all quest objectives as completed for target character active quest. After this target character can go and get quest reward.'),
|
||||
('quest remove',3,'Syntax: .quest remove #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.'),
|
||||
('quit',4,'Syntax: quit\r\n\r\nClose RA connection. Command must be typed fully (quit).'),
|
||||
('recall',1,'Syntax: .recall [$playername]\r\n\r\nTeleport $playername or selected player to the place where he has been before last use of a teleportation command. If no $playername is entered and no player is selected, it will teleport you.'),
|
||||
('reload all',3,'Syntax: .reload all\r\n\r\nReload all tables with reload support added and that can be _safe_ reloaded.'),
|
||||
('reload all_area',3,'Syntax: .reload all_area\r\n\r\nReload all `areatrigger_*` tables if reload support added for this table and this table can be _safe_ reloaded.'),
|
||||
|
|
@ -1078,6 +1079,7 @@ CREATE TABLE `creature_template` (
|
|||
`name` char(100) NOT NULL default '0',
|
||||
`subname` char(100) default NULL,
|
||||
`IconName` char(100) default NULL,
|
||||
`gossip_menu_id` mediumint(8) unsigned NOT NULL default '0',
|
||||
`minlevel` tinyint(3) unsigned NOT NULL default '1',
|
||||
`maxlevel` tinyint(3) unsigned NOT NULL default '1',
|
||||
`minhealth` int(10) unsigned NOT NULL default '0',
|
||||
|
|
@ -1155,7 +1157,7 @@ CREATE TABLE `creature_template` (
|
|||
LOCK TABLES `creature_template` WRITE;
|
||||
/*!40000 ALTER TABLE `creature_template` DISABLE KEYS */;
|
||||
INSERT INTO `creature_template` VALUES
|
||||
(1,0,0,0,0,0,10045,0,10045,0,'Waypoint(Only GM can see it)','Visual',NULL,1,1,64,64,0,0,0,35,35,0,0.91,1,0,14,15,0,100,1,2000,2200,8,4096,0,0,0,0,0,0,1.76,2.42,100,8,5242886,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,3,1.0,1.0,0,0,0,0,0,0,0,0,1,0,0,0x82,'');
|
||||
(1,0,0,0,0,0,10045,0,10045,0,'Waypoint(Only GM can see it)','Visual',NULL,0,1,1,64,64,0,0,0,35,35,0,0.91,1,0,14,15,0,100,1,2000,2200,8,4096,0,0,0,0,0,0,1.76,2.42,100,8,5242886,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,3,1.0,1.0,0,0,0,0,0,0,0,0,1,0,0,0x82,'');
|
||||
/*!40000 ALTER TABLE `creature_template` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
|
@ -1899,6 +1901,115 @@ LOCK TABLES `gameobject_template` WRITE;
|
|||
/*!40000 ALTER TABLE `gameobject_template` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `gossip_menu`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS gossip_menu;
|
||||
CREATE TABLE gossip_menu (
|
||||
entry smallint(6) unsigned NOT NULL default '0',
|
||||
text_id mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_1 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_1_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_1_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_2 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_2_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_2_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (entry, text_id)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `gossip_menu`
|
||||
--
|
||||
|
||||
LOCK TABLES `gossip_menu` WRITE;
|
||||
/*!40000 ALTER TABLE `gossip_menu` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `gossip_menu` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `gossip_menu_option`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS gossip_menu_option;
|
||||
CREATE TABLE gossip_menu_option (
|
||||
menu_id smallint(6) unsigned NOT NULL default '0',
|
||||
id smallint(6) unsigned NOT NULL default '0',
|
||||
option_icon mediumint(8) unsigned NOT NULL default '0',
|
||||
option_text text,
|
||||
option_id tinyint(3) unsigned NOT NULL default '0',
|
||||
npc_option_npcflag int(10) unsigned NOT NULL default '0',
|
||||
action_menu_id mediumint(8) unsigned NOT NULL default '0',
|
||||
action_poi_id mediumint(8) unsigned NOT NULL default '0',
|
||||
action_script_id mediumint(8) unsigned NOT NULL default '0',
|
||||
box_coded tinyint(3) unsigned NOT NULL default '0',
|
||||
box_money int(11) unsigned NOT NULL default '0',
|
||||
box_text text,
|
||||
cond_1 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_1_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_1_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_2 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_2_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_2_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_3 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_3_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_3_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (menu_id, id)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `gossip_menu_option`
|
||||
--
|
||||
|
||||
LOCK TABLES `gossip_menu_option` WRITE;
|
||||
/*!40000 ALTER TABLE `gossip_menu_option` DISABLE KEYS */;
|
||||
INSERT INTO gossip_menu_option VALUES
|
||||
(0,0,0,'GOSSIP_OPTION_QUESTGIVER',2,2,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,1,1,'GOSSIP_OPTION_VENDOR',3,128,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,2,2,'GOSSIP_OPTION_TAXIVENDOR',4,8192,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,3,3,'GOSSIP_OPTION_TRAINER',5,16,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,4,4,'GOSSIP_OPTION_SPIRITHEALER',6,16384,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,5,4,'GOSSIP_OPTION_SPIRITGUIDE',7,32768,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,6,5,'GOSSIP_OPTION_INNKEEPER',8,65536,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,7,6,'GOSSIP_OPTION_BANKER',9,131072,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,8,7,'GOSSIP_OPTION_PETITIONER',10,262144,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,9,8,'GOSSIP_OPTION_TABARDDESIGNER',11,524288,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,10,9,'GOSSIP_OPTION_BATTLEFIELD',12,1048576,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,11,6,'GOSSIP_OPTION_AUCTIONEER',13,2097152,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,12,0,'GOSSIP_OPTION_STABLEPET',14,4194304,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,13,1,'GOSSIP_OPTION_ARMORER',15,4096,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,14,2,'GOSSIP_OPTION_UNLEARNTALENTS',16,16,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,15,2,'GOSSIP_OPTION_UNLEARNPETSKILLS',17,16,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0);
|
||||
/*!40000 ALTER TABLE `gossip_menu_option` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `gossip_scripts`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `gossip_scripts`;
|
||||
CREATE TABLE `gossip_scripts` (
|
||||
`id` mediumint(8) unsigned NOT NULL default '0',
|
||||
`delay` int(10) unsigned NOT NULL default '0',
|
||||
`command` mediumint(8) unsigned NOT NULL default '0',
|
||||
`datalong` mediumint(8) unsigned NOT NULL default '0',
|
||||
`datalong2` int(10) unsigned NOT NULL default '0',
|
||||
`dataint` int(11) NOT NULL default '0',
|
||||
`x` float NOT NULL default '0',
|
||||
`y` float NOT NULL default '0',
|
||||
`z` float NOT NULL default '0',
|
||||
`o` float NOT NULL default '0'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `gossip_scripts`
|
||||
--
|
||||
|
||||
LOCK TABLES `gossip_scripts` WRITE;
|
||||
/*!40000 ALTER TABLE `gossip_scripts` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `gossip_scripts` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `instance_template`
|
||||
--
|
||||
|
|
@ -2344,6 +2455,42 @@ LOCK TABLES `locales_gameobject` WRITE;
|
|||
/*!40000 ALTER TABLE `locales_gameobject` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `locales_gossip_menu_option`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `locales_gossip_menu_option`;
|
||||
CREATE TABLE `locales_gossip_menu_option` (
|
||||
`menu_id` smallint(6) unsigned NOT NULL default '0',
|
||||
`id` smallint(6) unsigned NOT NULL default '0',
|
||||
`option_text_loc1` text,
|
||||
`option_text_loc2` text,
|
||||
`option_text_loc3` text,
|
||||
`option_text_loc4` text,
|
||||
`option_text_loc5` text,
|
||||
`option_text_loc6` text,
|
||||
`option_text_loc7` text,
|
||||
`option_text_loc8` text,
|
||||
`box_text_loc1` text,
|
||||
`box_text_loc2` text,
|
||||
`box_text_loc3` text,
|
||||
`box_text_loc4` text,
|
||||
`box_text_loc5` text,
|
||||
`box_text_loc6` text,
|
||||
`box_text_loc7` text,
|
||||
`box_text_loc8` text,
|
||||
PRIMARY KEY (`menu_id`, `id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `locales_gossip_menu_option`
|
||||
--
|
||||
|
||||
LOCK TABLES `locales_gossip_menu_option` WRITE;
|
||||
/*!40000 ALTER TABLE `locales_gossip_menu_option` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `locales_gossip_menu_option` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `locales_item`
|
||||
--
|
||||
|
|
@ -2379,42 +2526,6 @@ LOCK TABLES `locales_item` WRITE;
|
|||
/*!40000 ALTER TABLE `locales_item` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
--
|
||||
-- Table structure for table `locales_npc_option`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `locales_npc_option`;
|
||||
CREATE TABLE `locales_npc_option` (
|
||||
`entry` mediumint(8) unsigned NOT NULL default '0',
|
||||
`option_text_loc1` text,
|
||||
`option_text_loc2` text,
|
||||
`option_text_loc3` text,
|
||||
`option_text_loc4` text,
|
||||
`option_text_loc5` text,
|
||||
`option_text_loc6` text,
|
||||
`option_text_loc7` text,
|
||||
`option_text_loc8` text,
|
||||
`box_text_loc1` text,
|
||||
`box_text_loc2` text,
|
||||
`box_text_loc3` text,
|
||||
`box_text_loc4` text,
|
||||
`box_text_loc5` text,
|
||||
`box_text_loc6` text,
|
||||
`box_text_loc7` text,
|
||||
`box_text_loc8` text,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `locales_npc_option`
|
||||
--
|
||||
|
||||
LOCK TABLES `locales_npc_option` WRITE;
|
||||
/*!40000 ALTER TABLE `locales_npc_option` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `locales_npc_option` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `locales_npc_text`
|
||||
--
|
||||
|
|
@ -3446,6 +3557,7 @@ INSERT INTO `mangos_string` VALUES
|
|||
(1012,'===========================================================================',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
|
||||
(1013,'|%15s| %20s | %15s |%4d| %9d |',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
|
||||
(1014,'No online players.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
|
||||
(1015,'Used not fully typed quit command, need type it fully (quit), or command used not in RA command line.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
|
||||
(1100,'Account %s (Id: %u) have up to %u expansion allowed now.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
|
||||
(1101,'Message of the day changed to:\r\n%s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
|
||||
(1102,'Message sent to %s: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
|
||||
|
|
@ -3530,54 +3642,6 @@ LOCK TABLES `npc_gossip` WRITE;
|
|||
/*!40000 ALTER TABLE `npc_gossip` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `npc_gossip_textid`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `npc_gossip_textid`;
|
||||
CREATE TABLE `npc_gossip_textid` (
|
||||
`zoneid` smallint(5) unsigned NOT NULL default '0',
|
||||
`action` smallint(5) unsigned NOT NULL default '0',
|
||||
`textid` mediumint(8) unsigned NOT NULL default '0',
|
||||
KEY `zoneid` (`zoneid`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `npc_gossip_textid`
|
||||
--
|
||||
|
||||
LOCK TABLES `npc_gossip_textid` WRITE;
|
||||
/*!40000 ALTER TABLE `npc_gossip_textid` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `npc_gossip_textid` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `npc_option`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `npc_option`;
|
||||
CREATE TABLE `npc_option` (
|
||||
`id` mediumint(8) unsigned NOT NULL default '0',
|
||||
`gossip_id` mediumint(8) unsigned NOT NULL default '0',
|
||||
`npcflag` int(10) unsigned NOT NULL default '0',
|
||||
`icon` tinyint(3) unsigned NOT NULL default '0',
|
||||
`action` mediumint(8) unsigned NOT NULL default '0',
|
||||
`box_money` int(10) unsigned NOT NULL default '0',
|
||||
`coded` tinyint(3) unsigned NOT NULL default '0',
|
||||
`option_text` text,
|
||||
`box_text` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `npc_option`
|
||||
--
|
||||
|
||||
LOCK TABLES `npc_option` WRITE;
|
||||
/*!40000 ALTER TABLE `npc_option` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `npc_option` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `npc_spellclick_spells`
|
||||
--
|
||||
|
|
@ -14087,7 +14151,7 @@ INSERT INTO `spell_bonus_data` VALUES
|
|||
(3606, 0.1667, 0, 0, 'Shaman - Searing Totem Attack'),
|
||||
/* Warlock */
|
||||
(17962, 0, 0, 0, 'Warlock - Conflagrate'),
|
||||
(172, 0, 0.3, 0, 'Warlock - Corruption'),
|
||||
(172, 0, 0.2, 0, 'Warlock - Corruption'),
|
||||
(980, 0, 0.1, 0, 'Warlock - Curse of Agony'),
|
||||
(603, 0, 2, 0, 'Warlock - Curse of Doom'),
|
||||
(18220, 0.96, 0, 0, 'Warlock - Dark Pact'),
|
||||
|
|
@ -15283,6 +15347,18 @@ INSERT INTO spell_chain VALUES
|
|||
(26801,12180,3908,5,0),
|
||||
(51309,26790,3908,6,0),
|
||||
/*------------------
|
||||
-- (202) Engineering
|
||||
------------------*/
|
||||
/*Engineering*/
|
||||
(4036,0,4036,1,0),
|
||||
(4037,4036,4036,2,0),
|
||||
(4038,4037,4036,3,0),
|
||||
(12656,4038,4036,4,0),
|
||||
(20219,12656,4036,5,0),
|
||||
(20222,12656,4036,5,0),
|
||||
(30350,12656,4036,5,0),
|
||||
(51306,30350,4036,6,0),
|
||||
/*------------------
|
||||
--(203)Pet-Spider
|
||||
--(208)Pet-Wolf
|
||||
--(212)Pet-Crocolisk
|
||||
|
|
@ -15304,18 +15380,6 @@ INSERT INTO spell_chain VALUES
|
|||
(52473,27050,17253,10,0),
|
||||
(52474,52473,17253,11,0),
|
||||
/*------------------
|
||||
-- (202) Engineering
|
||||
------------------*/
|
||||
/*Engineering*/
|
||||
(4036,0,4036,1,0),
|
||||
(4037,4036,4036,2,0),
|
||||
(4038,4037,4036,3,0),
|
||||
(12656,4038,4036,4,0),
|
||||
(20219,12656,4036,5,0),
|
||||
(20222,12656,4036,5,0),
|
||||
(30350,12656,4036,5,0),
|
||||
(51306,30350,4036,6,0),
|
||||
/*------------------
|
||||
-- (204) Pet - Voidwalker
|
||||
------------------*/
|
||||
/*Consume Shadows*/
|
||||
|
|
@ -15376,6 +15440,16 @@ INSERT INTO spell_chain VALUES
|
|||
(11785,11784,6360,4,0),
|
||||
(27275,11785,6360,5,0),
|
||||
/*------------------
|
||||
-- (208) Pet - Wolf
|
||||
------------------*/
|
||||
/* Furious Howl */
|
||||
(24604,0,24604,1,0),
|
||||
(64491,24604,24604,2,0),
|
||||
(64492,64491,24604,3,0),
|
||||
(64493,64492,24604,4,0),
|
||||
(64494,64493,24604,5,0),
|
||||
(64495,64494,24604,6,0),
|
||||
/*------------------
|
||||
-- (209) Pet - Cat
|
||||
------------------*/
|
||||
/*Prowl*/
|
||||
|
|
@ -17033,6 +17107,16 @@ INSERT INTO spell_chain VALUES
|
|||
(53597,53596,50274,5,0),
|
||||
(53598,53597,50274,6,0),
|
||||
/*------------------
|
||||
--(767)Pet - Ravager
|
||||
------------------*/
|
||||
/*Ravage*/
|
||||
(50518,0,50518,1,0),
|
||||
(53558,50518,50518,2,0),
|
||||
(53559,53558,50518,3,0),
|
||||
(53560,53559,50518,4,0),
|
||||
(53561,53560,50518,5,0),
|
||||
(53562,53561,50518,6,0),
|
||||
/*------------------
|
||||
--(768)Pet-Serpent
|
||||
------------------*/
|
||||
/*PoisonSpit*/
|
||||
|
|
@ -18168,6 +18252,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(49622, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 60),
|
||||
(49657, 0x00000000, 15, 0x00000000, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(50781, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
(50880, 0x00000010, 15, 0x00000000, 0x00000800, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(51123, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
(51127, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
(51128, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
|
|
@ -18286,6 +18371,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(54936, 0x00000000, 10, 0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(54937, 0x00000000, 10, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(54939, 0x00000000, 10, 0x00008000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(55166, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
(55380, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
|
||||
(55440, 0x00000000, 11, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(55640, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
|
||||
|
|
@ -18322,6 +18408,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(57352, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00010154, 0x00000003, 0.000000, 0.000000, 45),
|
||||
(57470, 0x00000000, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(57472, 0x00000000, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(57499, 0x00000000, 4, 0x40000001, 0x00010000, 0x00000000, 0x00014000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(57878, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0),
|
||||
(57880, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0),
|
||||
(57881, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0),
|
||||
|
|
@ -18330,6 +18417,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(58364, 0x00000000, 4, 0x00000400, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(58372, 0x00000000, 4, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(58386, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000020, 0.000000, 0.000000, 0),
|
||||
(58597, 0x00000000, 10, 0x40000000, 0x00000000, 0x00000000, 0x00008000, 0x00000000, 0.000000, 100.000000,0),
|
||||
(58616, 0x00000000, 15, 0x01000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(58620, 0x00000000, 15, 0x00000000, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(58626, 0x00000000, 15, 0x02000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
|
|
@ -18386,7 +18474,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(63730, 0x00000000, 6, 0x00000800, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(64928, 0x00000000, 11, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
(64976, 0x00000000, 4, 0x00000001, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(65661, 0x00000000, 15, 0x00400010, 0x20020004, 0x00000000, 0x00000010, 0x00000000, 0.000000, 100.000000,0),
|
||||
(65661, 0x00000000, 15, 0x00400011, 0x00020004, 0x00000000, 0x00000010, 0x00000001, 0.000000, 100.000000,0),
|
||||
(64127, 0x00000000, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(67353, 0x00000000, 7, 0x00008000, 0x00100500, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
|
||||
|
||||
|
|
|
|||
5
sql/updates/8917_01_mangos_spell_proc_event.sql
Normal file
5
sql/updates/8917_01_mangos_spell_proc_event.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8912_01_mangos_spell_proc_event required_8917_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN (65661);
|
||||
INSERT INTO `spell_proc_event` VALUES
|
||||
(65661, 0x00000000, 15, 0x00400011, 0x00020004, 0x00000000, 0x00000010, 0x00000001, 0.000000, 100.000000,0);
|
||||
72
sql/updates/8923_01_mangos_gossip.sql
Normal file
72
sql/updates/8923_01_mangos_gossip.sql
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8917_01_mangos_spell_proc_event required_8923_01_mangos_gossip bit;
|
||||
|
||||
DROP TABLE IF EXISTS gossip_menu;
|
||||
CREATE TABLE gossip_menu (
|
||||
entry smallint(6) unsigned NOT NULL default '0',
|
||||
text_id mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_1 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_1_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_1_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_2 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_2_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_2_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (entry, text_id)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
DROP TABLE IF EXISTS gossip_menu_option;
|
||||
CREATE TABLE gossip_menu_option (
|
||||
menu_id smallint(6) unsigned NOT NULL default '0',
|
||||
id smallint(6) unsigned NOT NULL default '0',
|
||||
option_icon mediumint(8) unsigned NOT NULL default '0',
|
||||
option_text text,
|
||||
option_id tinyint(3) unsigned NOT NULL default '0',
|
||||
npc_option_npcflag int(10) unsigned NOT NULL default '0',
|
||||
action_menu_id mediumint(8) unsigned NOT NULL default '0',
|
||||
action_poi_id mediumint(8) unsigned NOT NULL default '0',
|
||||
action_script_id mediumint(8) unsigned NOT NULL default '0',
|
||||
box_coded tinyint(3) unsigned NOT NULL default '0',
|
||||
box_money int(11) unsigned NOT NULL default '0',
|
||||
box_text text,
|
||||
cond_1 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_1_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_1_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_2 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_2_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_2_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_3 tinyint(3) unsigned NOT NULL default '0',
|
||||
cond_3_val_1 mediumint(8) unsigned NOT NULL default '0',
|
||||
cond_3_val_2 mediumint(8) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (menu_id, id)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
DELETE FROM gossip_menu_option WHERE menu_id=0;
|
||||
INSERT INTO gossip_menu_option VALUES
|
||||
(0,0,0,'GOSSIP_OPTION_QUESTGIVER',2,2,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,1,1,'GOSSIP_OPTION_VENDOR',3,128,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,2,2,'GOSSIP_OPTION_TAXIVENDOR',4,8192,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,3,3,'GOSSIP_OPTION_TRAINER',5,16,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,4,4,'GOSSIP_OPTION_SPIRITHEALER',6,16384,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,5,4,'GOSSIP_OPTION_SPIRITGUIDE',7,32768,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,6,5,'GOSSIP_OPTION_INNKEEPER',8,65536,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,7,6,'GOSSIP_OPTION_BANKER',9,131072,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,8,7,'GOSSIP_OPTION_PETITIONER',10,262144,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,9,8,'GOSSIP_OPTION_TABARDDESIGNER',11,524288,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,10,9,'GOSSIP_OPTION_BATTLEFIELD',12,1048576,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,11,6,'GOSSIP_OPTION_AUCTIONEER',13,2097152,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,12,0,'GOSSIP_OPTION_STABLEPET',14,4194304,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,13,1,'GOSSIP_OPTION_ARMORER',15,4096,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,14,2,'GOSSIP_OPTION_UNLEARNTALENTS',16,16,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
|
||||
(0,15,2,'GOSSIP_OPTION_UNLEARNPETSKILLS',17,16,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0);
|
||||
|
||||
ALTER TABLE creature_template ADD gossip_menu_id mediumint(8) unsigned NOT NULL default 0 AFTER IconName;
|
||||
|
||||
ALTER TABLE locales_npc_option CHANGE COLUMN entry id smallint(6) unsigned NOT NULL default '0';
|
||||
ALTER TABLE locales_npc_option ADD menu_id smallint(6) unsigned NOT NULL default '0' FIRST;
|
||||
|
||||
ALTER TABLE locales_npc_option DROP PRIMARY KEY;
|
||||
ALTER TABLE locales_npc_option ADD PRIMARY KEY (menu_id, id);
|
||||
|
||||
RENAME TABLE locales_npc_option TO locales_gossip_menu_option;
|
||||
|
||||
DROP TABLE IF EXISTS npc_option;
|
||||
DROP TABLE IF EXISTS npc_gossip_textid;
|
||||
15
sql/updates/8929_01_mangos_gossip_scripts.sql
Normal file
15
sql/updates/8929_01_mangos_gossip_scripts.sql
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8923_01_mangos_gossip required_8929_01_mangos_gossip_scripts bit;
|
||||
|
||||
DROP TABLE IF EXISTS `gossip_scripts`;
|
||||
CREATE TABLE `gossip_scripts` (
|
||||
`id` mediumint(8) unsigned NOT NULL default '0',
|
||||
`delay` int(10) unsigned NOT NULL default '0',
|
||||
`command` mediumint(8) unsigned NOT NULL default '0',
|
||||
`datalong` mediumint(8) unsigned NOT NULL default '0',
|
||||
`datalong2` int(10) unsigned NOT NULL default '0',
|
||||
`dataint` int(11) NOT NULL default '0',
|
||||
`x` float NOT NULL default '0',
|
||||
`y` float NOT NULL default '0',
|
||||
`z` float NOT NULL default '0',
|
||||
`o` float NOT NULL default '0'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
5
sql/updates/8930_01_mangos_spell_proc_event.sql
Normal file
5
sql/updates/8930_01_mangos_spell_proc_event.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8929_01_mangos_gossip_scripts required_8930_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN (58597);
|
||||
INSERT INTO `spell_proc_event` VALUES
|
||||
(58597, 0x00000000, 10, 0x40000000, 0x00000000, 0x00000000, 0x00008000, 0x00000000, 0.000000, 100.000000,0);
|
||||
5
sql/updates/8931_01_mangos_spell_bonus_data.sql
Normal file
5
sql/updates/8931_01_mangos_spell_bonus_data.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8930_01_mangos_spell_proc_event required_8931_01_mangos_spell_bonus_data bit;
|
||||
|
||||
DELETE FROM spell_bonus_data WHERE entry = 172;
|
||||
INSERT INTO spell_bonus_data (entry, direct_bonus, dot_bonus, ap_bonus, comments) VALUES
|
||||
(172, 0, 0.2, 0, 'Warlock - Corruption');
|
||||
10
sql/updates/8932_01_mangos_spell_chain.sql
Normal file
10
sql/updates/8932_01_mangos_spell_chain.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8931_01_mangos_spell_bonus_data required_8932_01_mangos_spell_chain bit;
|
||||
|
||||
DELETE FROM spell_chain WHERE spell_id IN (50518,53558,53559,53560,53561,53562);
|
||||
INSERT INTO spell_chain VALUES
|
||||
(50518,0,50518,1,0),
|
||||
(53558,50518,50518,2,0),
|
||||
(53559,53558,50518,3,0),
|
||||
(53560,53559,50518,4,0),
|
||||
(53561,53560,50518,5,0),
|
||||
(53562,53561,50518,6,0);
|
||||
5
sql/updates/8938_01_mangos_spell_proc_event.sql
Normal file
5
sql/updates/8938_01_mangos_spell_proc_event.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8932_01_mangos_spell_chain required_8938_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN (50880);
|
||||
INSERT INTO `spell_proc_event` VALUES
|
||||
(50880, 0x00000010, 15, 0x00000000, 0x00000800, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
|
||||
11
sql/updates/8943_01_mangos_spell_chain.sql
Normal file
11
sql/updates/8943_01_mangos_spell_chain.sql
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8938_01_mangos_spell_proc_event required_8943_01_mangos_spell_chain bit;
|
||||
|
||||
DELETE FROM spell_chain WHERE spell_id IN (24604,64491,64492,64493,64494,64495);
|
||||
-- Furious Howl
|
||||
INSERT INTO spell_chain VALUES
|
||||
(24604,0,24604,1,0),
|
||||
(64491,24604,24604,2,0),
|
||||
(64492,64491,24604,3,0),
|
||||
(64493,64492,24604,4,0),
|
||||
(64494,64493,24604,5,0),
|
||||
(64495,64494,24604,6,0);
|
||||
5
sql/updates/8946_01_mangos_spell_proc_event.sql
Normal file
5
sql/updates/8946_01_mangos_spell_proc_event.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8943_01_mangos_spell_chain required_8946_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN (57499);
|
||||
INSERT INTO `spell_proc_event` VALUES
|
||||
(57499, 0x00000000, 4, 0x40000001, 0x00010000, 0x00000000, 0x00014000, 0x00000000, 0.000000, 0.000000,0);
|
||||
5
sql/updates/8950_01_mangos_spell_proc_event.sql
Normal file
5
sql/updates/8950_01_mangos_spell_proc_event.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8946_01_mangos_spell_proc_event required_8950_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN (55166);
|
||||
INSERT INTO `spell_proc_event` VALUES
|
||||
(55166, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000,0);
|
||||
6
sql/updates/8965_01_mangos_mangos_string.sql
Normal file
6
sql/updates/8965_01_mangos_mangos_string.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8950_01_mangos_spell_proc_event required_8965_01_mangos_mangos_string bit;
|
||||
|
||||
DELETE FROM mangos_string WHERE entry in (1015);
|
||||
|
||||
INSERT INTO mangos_string VALUES
|
||||
(1015,'Used not fully typed quit command, need type it fully (quit), or command used not in RA command line.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
6
sql/updates/8965_02_mangos_command.sql
Normal file
6
sql/updates/8965_02_mangos_command.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8965_01_mangos_mangos_string required_8965_02_mangos_command bit;
|
||||
|
||||
DELETE FROM command where name IN ('quit');
|
||||
|
||||
INSERT INTO `command` VALUES
|
||||
('quit',4,'Syntax: quit\r\n\r\nClose RA connection. Command must be typed fully (quit).');
|
||||
|
|
@ -188,6 +188,18 @@ pkgdata_DATA = \
|
|||
8908_01_mangos_spell_chain.sql \
|
||||
8909_01_mangos_spell_proc_event.sql \
|
||||
8912_01_mangos_spell_proc_event.sql \
|
||||
8917_01_mangos_spell_proc_event.sql \
|
||||
8923_01_mangos_gossip.sql \
|
||||
8929_01_mangos_gossip_scripts.sql \
|
||||
8930_01_mangos_spell_proc_event.sql \
|
||||
8931_01_mangos_spell_bonus_data.sql \
|
||||
8932_01_mangos_spell_chain.sql \
|
||||
8938_01_mangos_spell_proc_event.sql \
|
||||
8943_01_mangos_spell_chain.sql \
|
||||
8946_01_mangos_spell_proc_event.sql \
|
||||
8950_01_mangos_spell_proc_event.sql \
|
||||
8965_01_mangos_mangos_string.sql \
|
||||
8965_02_mangos_command.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -356,4 +368,16 @@ EXTRA_DIST = \
|
|||
8908_01_mangos_spell_chain.sql \
|
||||
8909_01_mangos_spell_proc_event.sql \
|
||||
8912_01_mangos_spell_proc_event.sql \
|
||||
8917_01_mangos_spell_proc_event.sql \
|
||||
8923_01_mangos_gossip.sql \
|
||||
8929_01_mangos_gossip_scripts.sql \
|
||||
8930_01_mangos_spell_proc_event.sql \
|
||||
8931_01_mangos_spell_bonus_data.sql \
|
||||
8932_01_mangos_spell_chain.sql \
|
||||
8938_01_mangos_spell_proc_event.sql \
|
||||
8943_01_mangos_spell_chain.sql \
|
||||
8946_01_mangos_spell_proc_event.sql \
|
||||
8950_01_mangos_spell_proc_event.sql \
|
||||
8965_01_mangos_mangos_string.sql \
|
||||
8965_02_mangos_command.sql \
|
||||
README
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue