Scripts: Correct function registration of spell_dru_moonkin_form_passive_AuraScript, fix intendation in world_database.sql
Author: QAston
This commit is contained in:
1 parent
b311bc2ad6
commit
e26294db56
2 files changed
+5
-5
No files matched your search
@@ -26958,13 +26958,13 @@ INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
|
||||
( 47422, 'spell_warl_everlasting_affliction'),
|
||||
-- druid
|
||||
( 54846, 'spell_dru_glyph_of_starfire'),
|
||||
(69366, 'spell_dru_moonkin_form_passive'),
|
||||
( 69366, 'spell_dru_moonkin_form_passive'),
|
||||
(-33851, 'spell_dru_primal_tenacity'),
|
||||
(62606, 'spell_dru_savage_defense'),
|
||||
( 62606, 'spell_dru_savage_defense'),
|
||||
-- example
|
||||
( 66244, 'spell_ex_66244'),
|
||||
( 5581, 'spell_ex_5581'),
|
||||
(47299, 'spell_ex_absorb_aura');
|
||||
( 47299, 'spell_ex_absorb_aura');
|
||||
|
||||
/*!40000 ALTER TABLE `spell_script_names` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
@@ -110,8 +110,8 @@ public:
|
||||
|
||||
void Register()
|
||||
{
|
||||
DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_dru_moonkin_form_passive_AuraScript::CalculateAmount, EFFECT_1, SPELL_AURA_SCHOOL_ABSORB);
|
||||
OnEffectAbsorb += AuraEffectAbsorbFn(spell_dru_moonkin_form_passive_AuraScript::Absorb, EFFECT_1);
|
||||
DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_dru_moonkin_form_passive_AuraScript::CalculateAmount, EFFECT_0, SPELL_AURA_SCHOOL_ABSORB);
|
||||
OnEffectAbsorb += AuraEffectAbsorbFn(spell_dru_moonkin_form_passive_AuraScript::Absorb, EFFECT_0);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user