fix(DB/Spells): add internal proc cooldown to Nature's Grasp (#10757)
Fixes #9475
This commit is contained in:
parent
8b453642e6
commit
b3c8c779dc
2 changed files with 5 additions and 16 deletions
|
|
@ -9049,22 +9049,6 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
|
|||
ToPlayer()->RemoveCategoryCooldown(1248);
|
||||
}
|
||||
}
|
||||
else if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DRUID)
|
||||
{
|
||||
// Nature's Grasp
|
||||
if( triggerEntry->SpellIconID == 20 )
|
||||
{
|
||||
if (!victim)
|
||||
return false;
|
||||
|
||||
if (AuraEffect* aurEff = victim->GetAuraEffect(SPELL_AURA_MOD_ROOT, SPELLFAMILY_DRUID, 20, 0))
|
||||
if ((aurEff->GetBase()->GetMaxDuration() - aurEff->GetBase()->GetDuration()) < 1000)
|
||||
return false;
|
||||
|
||||
CastSpell(victim, trigger_spell_id, true);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Custom basepoints/target for exist spell
|
||||
// dummy basepoints or other customs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue