diff --git a/sql/updates/world/custom/custom_2018_08_10_00_world.sql b/sql/updates/world/custom/custom_2018_08_10_00_world.sql new file mode 100644 index 00000000000..c58cf590b99 --- /dev/null +++ b/sql/updates/world/custom/custom_2018_08_10_00_world.sql @@ -0,0 +1,4 @@ +DELETE FROM `spell_proc` WHERE `SpellId` IN (89485, -57470); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(89485, 6, 0x00000200 | 0x00000800 | 0x00001000, 0x00000004, 0, 0x00004000, 2, 1, 0, 0, 0, 1, 100), +(-57470, 0, 0, 0, 0, 0, 2, 1, 0, 16, 0, 0, 0); diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index fd06bb90530..7da629ad116 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -7107,9 +7107,9 @@ float Unit::GetUnitSpellCriticalChance(Unit* victim, SpellInfo const* spellProto if (victim->HasAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, spellProto, this)) crit_chance += (*i)->GetAmount(); break; - case 7997: // Renewed Hope - case 7998: - if (victim->HasAura(6788)) + case 57470: // Renewed Hope + case 57472: + if (victim->HasAura(6788) || victim->HasAura(47930)) crit_chance += (*i)->GetAmount(); break; default: