From 666b4064b9ae20888765680ac2f0fac644f387c4 Mon Sep 17 00:00:00 2001 From: Salja Date: Wed, 22 Aug 2012 18:26:29 +0200 Subject: [PATCH] [0160] Forgot from last Commit. Signed-off-by: Salja --- sql/mangos.sql | 35 +++++++++++++++++++++++++++++++---- src/shared/revision_nr.h | 2 +- 2 files changed, 32 insertions(+), 5 deletions(-) diff --git a/sql/mangos.sql b/sql/mangos.sql index 25664e7dc..b2bde8049 100644 --- a/sql/mangos.sql +++ b/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_0157_xxxxx_01_player_levelstats` bit(1) default NULL + `required_0159_xxxxx_01_mangos_quest_template` bit(1) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; -- @@ -17685,7 +17685,7 @@ CREATE TABLE `quest_template` ( `QuestLevel` smallint(6) NOT NULL default '0', `Type` smallint(5) unsigned NOT NULL default '0', `RequiredClasses` smallint(5) unsigned NOT NULL default '0', - `RequiredRaces` smallint(5) unsigned NOT NULL default '0', + `RequiredRaces` int(7) unsigned NOT NULL default '0', `RequiredSkill` smallint(5) unsigned NOT NULL default '0', `RequiredSkillValue` smallint(5) unsigned NOT NULL default '0', `RepObjectiveFaction` smallint(5) unsigned NOT NULL default '0', @@ -17701,6 +17701,8 @@ CREATE TABLE `quest_template` ( `CharTitleId` tinyint(3) unsigned NOT NULL default '0', `PlayersSlain` tinyint(3) unsigned NOT NULL default '0', `BonusTalents` tinyint(3) unsigned NOT NULL default '0', + `PortraitGiver` mediumint(9) NOT NULL default '0', + `PortraitTurnIn` mediumint(9) NOT NULL default '0', `PrevQuestId` mediumint(9) NOT NULL default '0', `NextQuestId` mediumint(9) NOT NULL default '0', `ExclusiveGroup` mediumint(9) NOT NULL default '0', @@ -17716,6 +17718,10 @@ CREATE TABLE `quest_template` ( `RequestItemsText` text, `EndText` text, `CompletedText` text, + `PortraitGiverText` text, + `PortraitGiverName` text, + `PortraitTurnInText` text, + `PortraitTurnInName` text, `ObjectiveText1` text, `ObjectiveText2` text, `ObjectiveText3` text, @@ -17748,10 +17754,19 @@ CREATE TABLE `quest_template` ( `ReqCreatureOrGOCount2` smallint(5) unsigned NOT NULL default '0', `ReqCreatureOrGOCount3` smallint(5) unsigned NOT NULL default '0', `ReqCreatureOrGOCount4` smallint(5) unsigned NOT NULL default '0', + `ReqCurrencyId1` mediumint(8) unsigned NOT NULL default '0', + `ReqCurrencyId2` mediumint(8) unsigned NOT NULL default '0', + `ReqCurrencyId3` mediumint(8) unsigned NOT NULL default '0', + `ReqCurrencyId4` mediumint(8) unsigned NOT NULL default '0', + `ReqCurrencyCount1` mediumint(9) NOT NULL default '0', + `ReqCurrencyCount2` mediumint(9) NOT NULL default '0', + `ReqCurrencyCount3` mediumint(9) NOT NULL default '0', + `ReqCurrencyCount4` mediumint(9) NOT NULL default '0', `ReqSpellCast1` mediumint(8) unsigned NOT NULL default '0', `ReqSpellCast2` mediumint(8) unsigned NOT NULL default '0', `ReqSpellCast3` mediumint(8) unsigned NOT NULL default '0', `ReqSpellCast4` mediumint(8) unsigned NOT NULL default '0', + `ReqSpellLearned` mediumint(8) unsigned NOT NULL default '0', `RewChoiceItemId1` mediumint(8) unsigned NOT NULL default '0', `RewChoiceItemId2` mediumint(8) unsigned NOT NULL default '0', `RewChoiceItemId3` mediumint(8) unsigned NOT NULL default '0', @@ -17772,6 +17787,16 @@ CREATE TABLE `quest_template` ( `RewItemCount2` smallint(5) unsigned NOT NULL default '0', `RewItemCount3` smallint(5) unsigned NOT NULL default '0', `RewItemCount4` smallint(5) unsigned NOT NULL default '0', + `RewCurrencyId1` mediumint(8) unsigned NOT NULL default '0', + `RewCurrencyId2` mediumint(8) unsigned NOT NULL default '0', + `RewCurrencyId3` mediumint(8) unsigned NOT NULL default '0', + `RewCurrencyId4` mediumint(8) unsigned NOT NULL default '0', + `RewCurrencyCount1` mediumint(9) NOT NULL default '0', + `RewCurrencyCount2` mediumint(9) NOT NULL default '0', + `RewCurrencyCount3` mediumint(9) NOT NULL default '0', + `RewCurrencyCount4` mediumint(9) NOT NULL default '0', + `RewSkill` smallint(5) unsigned NOT NULL default '0', + `RewSkillValue` smallint(5) unsigned NOT NULL default '0', `RewRepFaction1` smallint(5) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case', `RewRepFaction2` smallint(5) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case', `RewRepFaction3` smallint(5) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case', @@ -17787,7 +17812,7 @@ CREATE TABLE `quest_template` ( `RewRepValue3` mediumint(9) NOT NULL default '0', `RewRepValue4` mediumint(9) NOT NULL default '0', `RewRepValue5` mediumint(9) NOT NULL default '0', - `RewHonorAddition` int unsigned NOT NULL default '0', + `RewHonorAddition` int(10) unsigned NOT NULL default '0', `RewHonorMultiplier` float NOT NULL default '0', `RewOrReqMoney` int(11) NOT NULL default '0', `RewMoneyMaxLevel` int(10) unsigned NOT NULL default '0', @@ -17817,9 +17842,11 @@ CREATE TABLE `quest_template` ( `OfferRewardEmoteDelay2` int(11) unsigned NOT NULL default '0', `OfferRewardEmoteDelay3` int(11) unsigned NOT NULL default '0', `OfferRewardEmoteDelay4` int(11) unsigned NOT NULL default '0', + `SoundAccept` smallint(5) unsigned NOT NULL default '0', + `SoundTurnIn` smallint(5) unsigned NOT NULL default '0', `StartScript` mediumint(8) unsigned NOT NULL default '0', `CompleteScript` mediumint(8) unsigned NOT NULL default '0', - PRIMARY KEY (`entry`) + PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest System'; -- diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 9a0552ea8..56ebe7940 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ -#define REVISION_NR "0159" +#define REVISION_NR "0160" #endif // __REVISION_NR_H__