Core/Spells: allow Combustion's damage over time effect to crit

This commit is contained in:
Ovahlord
2022-06-24 23:13:48 +02:00
parent b13bcc85b0
commit 846e89c1fc

View File

@@ -1,4 +1,4 @@
/*
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
@@ -3451,7 +3451,7 @@ void SpellMgr::LoadSpellInfoCorrections()
47134 // Quest Complete
}, [](SpellInfo* spellInfo)
{
//! HACK: This spell break quest complete for alliance and on retail not used °_O
//! HACK: This spell break quest complete for alliance and on retail not used °_O
spellInfo->Effects[EFFECT_0].Effect = 0;
});
@@ -5944,6 +5944,13 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx |= SPELL_ATTR1_FINISHING_MOVE_DURATION;
});
// Combustion
// Patch 4.3.0 (2011-11-29): Combustions periodic damage can now critically hit.
ApplySpellFix({ 83853 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx8 |= SPELL_ATTR8_PERIODIC_CAN_CRIT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];