[11634] Periodic damage from spell 1943 and ranks can produce critical strikes

This commit is contained in:
zergtmn 2011-06-17 22:35:31 +06:00
parent 3443a97a28
commit 8a4230d765
2 changed files with 3 additions and 2 deletions

View file

@ -8282,7 +8282,8 @@ void Aura::HandleAuraSafeFall( bool Apply, bool Real )
bool Aura::IsCritFromAbilityAura(Unit* caster, uint32& damage)
{
if (!caster->HasAffectedAura(SPELL_AURA_ABILITY_PERIODIC_CRIT, GetSpellProto()))
if (!GetSpellProto()->IsFitToFamily(SPELLFAMILY_ROGUE, UI64LIT(0x100000)) && // Rupture
!caster->HasAffectedAura(SPELL_AURA_ABILITY_PERIODIC_CRIT, GetSpellProto()))
return false;
if (caster->IsSpellCrit(GetTarget(), GetSpellProto(), GetSpellSchoolMask(GetSpellProto())))