mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Spells: updated fixed Renewed Hope crit chance bonus.
* Inner Focus will now get consumed when one of the affected healing spells get getting casted Closes #12 Closes #15
This commit is contained in:
4
sql/updates/world/custom/custom_2018_08_10_00_world.sql
Normal file
4
sql/updates/world/custom/custom_2018_08_10_00_world.sql
Normal file
@@ -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);
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user