Core/Spells: Define all spell modifier types and implement ProcCooldown mod and PeriodicHealingAndDamage for melee periodic damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/6585666e6e34ade0333e4c23876acdf847d169c0)
This commit is contained in:
@@ -192,6 +192,17 @@ namespace System.Collections
|
||||
return this;
|
||||
}
|
||||
|
||||
public bool Any()
|
||||
{
|
||||
for (var i = 0; i < Length; ++i)
|
||||
{
|
||||
if (Get(i))
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public int Length
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user