forked from mangos/MaNGOS
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[patch 161] Added special table to DB for storage non-existed in DBC …
…spells. Patch provided by QAston and Wowka321
- Loading branch information
Showing
6 changed files
with
308 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
DROP TABLE IF EXISTS `spell_dbc`; | ||
CREATE TABLE `spell_dbc` ( | ||
`Id` int(10) unsigned NOT NULL, | ||
`Dispel` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`Mechanic` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`Attributes` int(10) unsigned NOT NULL DEFAULT '0', | ||
`AttributesEx` int(10) unsigned NOT NULL DEFAULT '0', | ||
`AttributesEx2` int(10) unsigned NOT NULL DEFAULT '0', | ||
`AttributesEx3` int(10) unsigned NOT NULL DEFAULT '0', | ||
`AttributesEx4` int(10) unsigned NOT NULL DEFAULT '0', | ||
`AttributesEx5` int(10) unsigned NOT NULL DEFAULT '0', | ||
`Stances` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`Targets` int(10) unsigned NOT NULL DEFAULT '0', | ||
`CastingTimeIndex` tinyint(3) unsigned NOT NULL DEFAULT '1', | ||
`AuraInterruptFlags` int(10) unsigned NOT NULL DEFAULT '0', | ||
`ProcFlags` int(10) unsigned NOT NULL DEFAULT '0', | ||
`ProcChance` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`ProcCharges` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`BaseLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`SpellLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`DurationIndex` smallint(5) unsigned NOT NULL DEFAULT '0', | ||
`RangeIndex` tinyint(3) unsigned NOT NULL DEFAULT '1', | ||
`StackAmount` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EquippedItemClass` int(11) NOT NULL DEFAULT '-1', | ||
`EquippedItemSubClassMask` int(11) NOT NULL DEFAULT '0', | ||
`EquippedItemInventoryTypeMask` int(11) NOT NULL DEFAULT '0', | ||
`Effect1` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`Effect2` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`Effect3` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectDieSides1` int(11) NOT NULL DEFAULT '0', | ||
`EffectDieSides2` int(11) NOT NULL DEFAULT '0', | ||
`EffectDieSides3` int(11) NOT NULL DEFAULT '0', | ||
`EffectRealPointsPerLevel1` float NOT NULL DEFAULT '0', | ||
`EffectRealPointsPerLevel2` float NOT NULL DEFAULT '0', | ||
`EffectRealPointsPerLevel3` float NOT NULL DEFAULT '0', | ||
`EffectBasePoints1` int(11) NOT NULL DEFAULT '0', | ||
`EffectBasePoints2` int(11) NOT NULL DEFAULT '0', | ||
`EffectBasePoints3` int(11) NOT NULL DEFAULT '0', | ||
`EffectMechanic1` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectMechanic2` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectMechanic3` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectImplicitTargetA1` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectImplicitTargetA2` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectImplicitTargetA3` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectImplicitTargetB1` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectImplicitTargetB2` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectImplicitTargetB3` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectRadiusIndex1` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectRadiusIndex2` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectRadiusIndex3` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`EffectApplyAuraName1` smallint(5) unsigned NOT NULL DEFAULT '0', | ||
`EffectApplyAuraName2` smallint(5) unsigned NOT NULL DEFAULT '0', | ||
`EffectApplyAuraName3` smallint(5) unsigned NOT NULL DEFAULT '0', | ||
`EffectAmplitude1` int(11) NOT NULL DEFAULT '0', | ||
`EffectAmplitude2` int(11) NOT NULL DEFAULT '0', | ||
`EffectAmplitude3` int(11) NOT NULL DEFAULT '0', | ||
`EffectMultipleValue1` float NOT NULL DEFAULT '0', | ||
`EffectMultipleValue2` float NOT NULL DEFAULT '0', | ||
`EffectMultipleValue3` float NOT NULL DEFAULT '0', | ||
`EffectMiscValue1` int(11) NOT NULL DEFAULT '0', | ||
`EffectMiscValue2` int(11) NOT NULL DEFAULT '0', | ||
`EffectMiscValue3` int(11) NOT NULL DEFAULT '0', | ||
`EffectMiscValueB1` int(11) NOT NULL DEFAULT '0', | ||
`EffectMiscValueB2` int(11) NOT NULL DEFAULT '0', | ||
`EffectMiscValueB3` int(11) NOT NULL DEFAULT '0', | ||
`EffectTriggerSpell1` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectTriggerSpell2` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectTriggerSpell3` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskA1` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskA2` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskA3` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskB1` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskB2` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskB3` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskC1` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskC2` int(10) unsigned NOT NULL DEFAULT '0', | ||
`EffectSpellClassMaskC3` int(10) unsigned NOT NULL DEFAULT '0', | ||
`MaxTargetLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`SpellFamilyName` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`SpellFamilyFlags1` int(10) unsigned NOT NULL DEFAULT '0', | ||
`SpellFamilyFlags2` int(10) unsigned NOT NULL DEFAULT '0', | ||
`SpellFamilyFlags3` int(10) unsigned NOT NULL DEFAULT '0', | ||
`MaxAffectedTargets` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`DmgClass` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`PreventionType` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||
`DmgMultiplier1` float NOT NULL DEFAULT '0', | ||
`DmgMultiplier2` float NOT NULL DEFAULT '0', | ||
`DmgMultiplier3` float NOT NULL DEFAULT '0', | ||
`AreaGroupId` int(11) NOT NULL DEFAULT '0', | ||
`SchoolMask` int(10) unsigned NOT NULL DEFAULT '0', | ||
`Comment` text NOT NULL, | ||
PRIMARY KEY (`Id`) | ||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Custom spell.dbc entries'; | ||
|
||
INSERT INTO `spell_dbc` VALUES | ||
('24395', '0', '0', '536936848', '32768', '4', '0', '0', '0', '0', '1', '1', '0', '0', '101', '0', '0', '40', '40', '85', '1', '0', '-1', '0', '0', '6', '6', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0', '77', '77', '77', '0', '0', '0', '0', '0', '0', '1', '5', '17', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '9', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Bestial Wrath - Immunity'), | ||
('24396', '0', '0', '536936848', '32768', '4', '0', '0', '0', '0', '1', '1', '0', '0', '101', '0', '0', '40', '40', '85', '1', '0', '-1', '0', '0', '6', '6', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0', '77', '77', '77', '0', '0', '0', '0', '0', '0', '14', '13', '24', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '9', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Bestial Wrath - Immunity'), | ||
('24397', '0', '0', '536936848', '268468224', '4', '0', '0', '0', '0', '1', '1', '0', '0', '101', '0', '0', '40', '40', '85', '1', '0', '-1', '0', '0', '6', '6', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0', '77', '77', '77', '0', '0', '0', '0', '0', '0', '7', '10', '11', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '9', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Bestial Wrath - Immunity'), | ||
('26592', '0', '0', '536936848', '268468224', '4', '0', '0', '0', '0', '1', '1', '0', '0', '101', '0', '0', '40', '40', '85', '1', '0', '-1', '0', '0', '6', '6', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0', '77', '77', '77', '0', '0', '0', '0', '0', '0', '2', '18', '30', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '9', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Bestial Wrath - Immunity'), | ||
('24900', '0', '0', '400', '1024', '0', '0', '2097152', '0', '1', '0', '1', '0', '0', '101', '0', '0', '0', '0', '21', '1', '0', '-1', '0', '0', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '166', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Heart of the Wild - Cat Bonus'), | ||
('24899', '0', '0', '400', '1024', '0', '0', '2097152', '0', '144', '0', '1', '0', '0', '101', '0', '0', '0', '0', '21', '1', '0', '-1', '0', '0', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '137', '0', '0', '0', '0', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Heart of the Wild - Bear Bonus'), | ||
('56817', '0', '0', '384', '0', '0', '0', '0', '0', '0', '0', '1', '0', '16', '100', '1', '0', '67', '67', '1', '0', '0', '-1', '0', '0', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '15', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Rune Strike - Aura for 56815'), | ||
('58428', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '100', '0', '0', '0', '0', '18', '1', '0', '-1', '0', '0', '6', '0', '0', '0', '0', '0', '0', '0', '0', '9', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '226', '0', '0', '0', '0', '0', '0', '0', '0', '9', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '8', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Overkill'), | ||
('62388', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '21', '1', '0', '-1', '0', '0', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Demonic Circle: Teleport(48020) - casterAuraSpell'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
486307e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
и чё это даёт?
486307e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Помогает "правильно" реализовать некоторые спелы, в основном все они в таблице.