mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9309] Implement DB storage for new quest_template field 'RewXPId'.
Values 0-8, used to display XP reward in client log. Please note that calculation of quest XP has changed, and formula must be corrected accordingly. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
cb33736a5a
commit
f73b778cde
9 changed files with 76 additions and 64 deletions
|
|
@ -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_9297_01_mangos_item_template` bit(1) default NULL
|
||||
`required_9309_01_mangos_quest_template` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -13804,6 +13804,7 @@ CREATE TABLE `quest_template` (
|
|||
`NextQuestId` mediumint(9) NOT NULL default '0',
|
||||
`ExclusiveGroup` mediumint(9) NOT NULL default '0',
|
||||
`NextQuestInChain` mediumint(8) unsigned NOT NULL default '0',
|
||||
`RewXPId` tinyint(3) unsigned NOT NULL default '0',
|
||||
`SrcItemId` mediumint(8) unsigned NOT NULL default '0',
|
||||
`SrcItemCount` tinyint(3) unsigned NOT NULL default '0',
|
||||
`SrcSpell` mediumint(8) unsigned NOT NULL default '0',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue