[9366] Fix spell 67228

Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
unloading 2010-02-13 17:04:19 +01:00 committed by Lightguard
parent f272aa8d1a
commit 4c18b32279
7 changed files with 23 additions and 4 deletions

View file

@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
`version` varchar(120) default NULL, `version` varchar(120) default NULL,
`creature_ai_version` varchar(120) default NULL, `creature_ai_version` varchar(120) default NULL,
`cache_id` int(10) default '0', `cache_id` int(10) default '0',
`required_9331_01_mangos_quest_template` bit(1) default NULL `required_9366_02_mangos_spell_proc_event` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
-- --
@ -14263,7 +14263,8 @@ INSERT INTO `spell_bonus_data` VALUES
(17712, 0, 0, 0, 'Item - Lifestone Healing'), (17712, 0, 0, 0, 'Item - Lifestone Healing'),
(5707, 0, 0, 0, 'Item - Lifestone Regeneration'), (5707, 0, 0, 0, 'Item - Lifestone Regeneration'),
(38395, 0, 0, 0, 'Item - Siphon Essence'), (38395, 0, 0, 0, 'Item - Siphon Essence'),
(40293, 0, 0, 0, 'Item - Siphon Essence'); (40293, 0, 0, 0, 'Item - Siphon Essence'),
(71824, 0, 0, 0, 'Item - Shaman T9 Elemental 4P Bonus');
/*!40000 ALTER TABLE `spell_bonus_data` ENABLE KEYS */; /*!40000 ALTER TABLE `spell_bonus_data` ENABLE KEYS */;
UNLOCK TABLES; UNLOCK TABLES;
@ -18652,6 +18653,7 @@ INSERT INTO `spell_proc_event` VALUES
(64976, 0x00000000, 4, 0x00000001, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0.000000, 0.000000, 0), (64976, 0x00000000, 4, 0x00000001, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0.000000, 0.000000, 0),
(65661, 0x00000000, 15, 0x00400011, 0x00020004, 0x00000000, 0x00000010, 0x00000001, 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), (64127, 0x00000000, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(67353, 0x00000000, 7, 0x00008000, 0x00100500, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (67353, 0x00000000, 7, 0x00008000, 0x00100500, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(67667, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45), (67667, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
(67672, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 50), (67672, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 50),

View file

@ -0,0 +1,3 @@
DELETE FROM spell_bonus_data WHERE entry = 71824;
INSERT INTO spell_bonus_data VALUES
(71824,0,0,0,'Item - Shaman T9 Elemental 4P Bonus');

View file

@ -0,0 +1,3 @@
DELETE FROM `spell_proc_event` WHERE `entry` = 67228;
INSERT INTO `spell_proc_event` VALUES
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -66,6 +66,8 @@ pkgdata_DATA = \
9349_01_characters_character_action.sql \ 9349_01_characters_character_action.sql \
9354_01_characters_character_action.sql \ 9354_01_characters_character_action.sql \
9359_01_characters_characters.sql \ 9359_01_characters_characters.sql \
9366_01_mangos_spell_bonus_data.sql \
9366_02_mangos_spell_proc_event.sql \
README README
## Additional files to include when running 'make dist' ## Additional files to include when running 'make dist'
@ -112,4 +114,6 @@ EXTRA_DIST = \
9349_01_characters_character_action.sql \ 9349_01_characters_character_action.sql \
9354_01_characters_character_action.sql \ 9354_01_characters_character_action.sql \
9359_01_characters_characters.sql \ 9359_01_characters_characters.sql \
9366_01_mangos_spell_bonus_data.sql \
9366_02_mangos_spell_proc_event.sql \
README README

View file

@ -6617,6 +6617,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
triggered_spell_id = 64930; // Electrified triggered_spell_id = 64930; // Electrified
break; break;
} }
// Shaman T9 Elemental 4P Bonus
case 67228:
{
basepoints0 = int32( triggerAmount * damage / 100 );
triggered_spell_id = 71824;
break;
}
} }
// Storm, Earth and Fire // Storm, Earth and Fire
if (dummySpell->SpellIconID == 3063) if (dummySpell->SpellIconID == 3063)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9365" #define REVISION_NR "9366"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__

View file

@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__ #ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__ #define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_9359_01_characters_characters" #define REVISION_DB_CHARACTERS "required_9359_01_characters_characters"
#define REVISION_DB_MANGOS "required_9331_01_mangos_quest_template" #define REVISION_DB_MANGOS "required_9366_02_mangos_spell_proc_event"
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist" #define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
#endif // __REVISION_SQL_H__ #endif // __REVISION_SQL_H__