Core/Auras: Implement SPELL_ATTR8_PERIODIC_CAN_CRIT
Port From (https://github.com/TrinityCore/TrinityCore/commit/fa2257681726caf16509940ef8c6d427cd85150e)
This commit is contained in:
@@ -5525,7 +5525,10 @@ namespace Game.Spells
|
||||
if (GetSpellInfo().HasAttribute(SpellAttr2.CantCrit))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
if (GetSpellInfo().HasAttribute(SpellAttr8.PeriodicCanCrit))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
float CalcPeriodicCritChance(Unit caster)
|
||||
|
||||
Reference in New Issue
Block a user