Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting
Port From (https://github.com/TrinityCore/TrinityCore/commit/f70a5817e1c07891185d716611d45f50b1c73b78)
This commit is contained in:
@@ -186,6 +186,13 @@ namespace System.Collections.Generic
|
||||
return blockValues;
|
||||
}
|
||||
|
||||
public static uint ToUInt(this BitSet array)
|
||||
{
|
||||
uint[] blockValues = new uint[array.Length / 32 + 1];
|
||||
array.CopyTo(blockValues, 0);
|
||||
return blockValues[0];
|
||||
}
|
||||
|
||||
public static void Clear(this Array array)
|
||||
{
|
||||
Array.Clear(array, 0, array.Length);
|
||||
|
||||
Reference in New Issue
Block a user