mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 01:37:02 +00:00
* Replace reqClass by reqSkillVlaue field in `skill_discovery_template` and check expected skill points amount for specific reipe discovery. * Add new `spell_loot_template` loot table for store item selection data for spells. At this moment for expclicit recipes discovery spells. * Code cleanups.
15 lines
839 B
SQL
15 lines
839 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_7133_01_mangos_skill_discovery_template required_7133_02_mangos_spell_loot_template bit;
|
|
|
|
DROP TABLE IF EXISTS `spell_loot_template`;
|
|
CREATE TABLE `spell_loot_template` (
|
|
`entry` mediumint(8) unsigned NOT NULL default '0',
|
|
`item` mediumint(8) unsigned NOT NULL default '0',
|
|
`ChanceOrQuestChance` float NOT NULL default '100',
|
|
`groupid` tinyint(3) unsigned NOT NULL default '0',
|
|
`mincountOrRef` mediumint(9) NOT NULL default '1',
|
|
`maxcount` tinyint(3) unsigned NOT NULL default '1',
|
|
`lootcondition` tinyint(3) unsigned NOT NULL default '0',
|
|
`condition_value1` mediumint(8) unsigned NOT NULL default '0',
|
|
`condition_value2` mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (`entry`,`item`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
|