Core/Spells: Arcane Missiles will now proc on spell cast instead of spell hit and may proc from triggered missiles
This commit is contained in:
1 parent
6335bccb72
commit
6d37b9a455
2 files changed
+2
-6
No files matched your search
@@ -0,0 +1,2 @@
|
||||
-- Allow Arcane Missiles to proc on cast instead of on hit
|
||||
UPDATE `spell_proc` SET `SpellPhaseMask`= 1 WHERE `SpellId`= 79684;
|
||||
@@ -39,7 +39,6 @@ enum MageSpells
|
||||
SPELL_MAGE_ARCANE_POTENCY_TRIGGER_RANK_2 = 57531,
|
||||
SPELL_MAGE_ARCANE_BLAST = 30451,
|
||||
SPELL_MAGE_ARCANE_MISSILES = 5143,
|
||||
SPELL_MAGE_ARCANE_MISSILES_DAMAGE = 7268,
|
||||
SPELL_MAGE_ARCANE_MISSILES_AURASTATE = 79808,
|
||||
SPELL_MAGE_BLAZING_SPEED = 31643,
|
||||
SPELL_MAGE_BRAIN_FREEZE_R1 = 44546,
|
||||
@@ -1464,7 +1463,6 @@ class spell_mage_offensive_state_dnd : public AuraScript
|
||||
return ValidateSpellInfo(
|
||||
{
|
||||
SPELL_MAGE_ARCANE_MISSILES,
|
||||
SPELL_MAGE_ARCANE_MISSILES_DAMAGE,
|
||||
SPELL_MAGE_HOT_STREAK,
|
||||
SPELL_MAGE_BRAIN_FREEZE_R1
|
||||
});
|
||||
@@ -1488,10 +1486,6 @@ class spell_mage_offensive_state_dnd : public AuraScript
|
||||
if (player->GetAuraOfRankedSpell(SPELL_MAGE_BRAIN_FREEZE_R1))
|
||||
return false;
|
||||
|
||||
// Don't proc Arcane Missiles from triggered Missiles
|
||||
if (eventInfo.GetSpellInfo()->Id == SPELL_MAGE_ARCANE_MISSILES_DAMAGE)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user