Core/Spells: allow Rip's periodic effect to crit
This commit is contained in:
1 parent
4b92f09fec
commit
149d9aec8d
1 file changed
+9
-3
@@ -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;
|
||||
});
|
||||
|
||||
@@ -5945,12 +5945,18 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
});
|
||||
|
||||
// Combustion
|
||||
// Patch 4.3.0 (2011-11-29): Combustion’s periodic damage can now critically hit.
|
||||
// Patch 4.3.0 (2011-11-29): Combustion's periodic damage can now critically hit.
|
||||
ApplySpellFix({ 83853 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->AttributesEx8 |= SPELL_ATTR8_PERIODIC_CAN_CRIT;
|
||||
});
|
||||
|
||||
// Rip
|
||||
ApplySpellFix({ 1079 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->AttributesEx8 |= SPELL_ATTR8_PERIODIC_CAN_CRIT;
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
||||
Reference in new issue
Block a user