mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
[11634] Periodic damage from spell 1943 and ranks can produce critical strikes
This commit is contained in:
parent
3443a97a28
commit
8a4230d765
2 changed files with 3 additions and 2 deletions
|
|
@ -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())))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue