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:
hondacrx
2021-03-17 18:52:59 -04:00
parent f667df1b11
commit 4568cdad48
16 changed files with 168 additions and 158 deletions
+11
View File
@@ -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