Core/Spells: Convert hunter "Improved Mend Pet" in spell script
Closes #5597 Closes #9006 Closes #10346
This commit is contained in:
1 parent
eefdceea71
commit
4c64e407b7
3 files changed
+48
-10
No files matched your search
@@ -6235,15 +6235,6 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
{
|
||||
switch (dummySpell->SpellIconID)
|
||||
{
|
||||
case 267: // Improved Mend Pet
|
||||
{
|
||||
int32 chance = triggeredByAura->GetSpellInfo()->Effects[triggeredByAura->GetEffIndex()].CalcValue();
|
||||
if (!roll_chance_i(chance))
|
||||
return false;
|
||||
|
||||
triggered_spell_id = 24406;
|
||||
break;
|
||||
}
|
||||
case 2236: // Thrill of the Hunt
|
||||
{
|
||||
if (!procSpell)
|
||||
|
||||
Reference in new issue
Block a user