Scripts/BH: Argaloth's Meteor Slash will now ignore all resistances

This commit is contained in:
Ovahlord
2019-01-27 21:30:47 +01:00
parent 81a6bc1acf
commit 50784ec025
2 changed files with 8 additions and 1 deletions

View File

@@ -4686,6 +4686,13 @@ void SpellMgr::LoadSpellInfoCorrections()
{
spellInfo->AttributesEx &= ~SPELL_ATTR1_CHANNELED_1;
});
// Meteor Slash
ApplySpellFix({ 88942, 95172 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx4 |= SPELL_ATTR4_IGNORE_RESISTANCES;
});
// ENDOF BARADIN HOLD SPELLS
//

View File

@@ -314,7 +314,7 @@ class spell_argaloth_meteor_slash : public SpellScript
void Register() override
{
OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_argaloth_meteor_slash::CountTargets, EFFECT_0, TARGET_UNIT_CONE_ENEMY_104);
OnHit += SpellHitFn(spell_argaloth_meteor_slash::SplitDamage);
BeforeHit += SpellHitFn(spell_argaloth_meteor_slash::SplitDamage);
}
private: