mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/Spells: Fixed glyph of Fire Blast.
This commit is contained in:
@@ -11127,6 +11127,13 @@ bool Unit::isSpellCrit(Unit* victim, SpellInfo const* spellProto, SpellSchoolMas
|
||||
// Custom crit by class
|
||||
switch (spellProto->SpellFamilyName)
|
||||
{
|
||||
case SPELLFAMILY_MAGE:
|
||||
// Glyph of Fire Blast
|
||||
if ((spellProto->SpellFamilyFlags[0] & 0x2) == 0x2 && spellProto->SpellIconID == 12)
|
||||
if (victim->HasAuraWithMechanic((1<<MECHANIC_STUN) | (1<<MECHANIC_KNOCKOUT))
|
||||
if (AuraEffect const* aurEff = GetAuraEffect(56369, EFFECT_0))
|
||||
crit_chance += aurEff->GetAmount();
|
||||
break;
|
||||
case SPELLFAMILY_DRUID:
|
||||
// Improved Faerie Fire
|
||||
if (victim->HasAuraState(AURA_STATE_FAERIE_FIRE))
|
||||
|
||||
Reference in New Issue
Block a user