mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/Spells: Seal of Insight will no longer proc on AOE attacks and updated proc data for Cataclysm instead of MoP
This commit is contained in:
5
sql/updates/world/4.3.4/2021_02_19_01_world.sql
Normal file
5
sql/updates/world/4.3.4/2021_02_19_01_world.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
UPDATE `spell_proc` SET `Cooldown`= 1000, `ProcsPerMinute`= 15 WHERE `SpellId`= 20165;
|
||||
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_pal_seal_of_insight';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(20165, 'spell_pal_seal_of_insight');
|
||||
@@ -3042,8 +3042,6 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
41376, // Spite
|
||||
45248, // Shadow Blades
|
||||
46771, // Flame Sear
|
||||
54171, // Divine Storm
|
||||
54172, // Divine Storm (heal)
|
||||
66588 // Flaming Spear
|
||||
}, [](SpellInfo* spellInfo)
|
||||
{
|
||||
|
||||
@@ -421,7 +421,7 @@ class spell_pal_divine_storm : public SpellScript
|
||||
if (Unit* caster = GetCaster())
|
||||
{
|
||||
int32 heal = CalculatePct(GetHitDamage(), GetSpellInfo()->Effects[EFFECT_1].CalcValue(GetCaster()));
|
||||
caster->CastSpell(caster, SPELL_PALADIN_DIVINE_STORM_DUMMY, CastSpellExtraArgs(true).AddSpellBP0(heal));
|
||||
caster->CastSpell(caster, SPELL_PALADIN_DIVINE_STORM_DUMMY, CastSpellExtraArgs(true).AddSpellBP0(heal).AddSpellMod(SPELLVALUE_MAX_TARGETS, 3));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1973,6 +1973,20 @@ class spell_pal_tower_of_radiance : public AuraScript
|
||||
}
|
||||
};
|
||||
|
||||
// 20165 - Seal of Insight
|
||||
class spell_pal_seal_of_insight : public AuraScript
|
||||
{
|
||||
bool CheckProc(ProcEventInfo& eventInfo)
|
||||
{
|
||||
return (!eventInfo.GetSpellInfo() || !eventInfo.GetSpellInfo()->IsAffectingArea());
|
||||
}
|
||||
|
||||
void Register() override
|
||||
{
|
||||
DoCheckProc.Register(&spell_pal_seal_of_insight::CheckProc);
|
||||
}
|
||||
};
|
||||
|
||||
void AddSC_paladin_spell_scripts()
|
||||
{
|
||||
RegisterSpellScript(spell_pal_ardent_defender);
|
||||
@@ -2016,6 +2030,7 @@ void AddSC_paladin_spell_scripts()
|
||||
RegisterSpellScript(spell_pal_protector_of_the_innocent);
|
||||
new spell_pal_righteous_defense();
|
||||
RegisterSpellScript(spell_pal_sacred_shield);
|
||||
RegisterSpellScript(spell_pal_seal_of_insight);
|
||||
RegisterSpellScript(spell_pal_seal_of_righteousness);
|
||||
RegisterSpellScript(spell_pal_seal_of_truth);
|
||||
new spell_pal_shield_of_the_righteous();
|
||||
|
||||
Reference in New Issue
Block a user