Core: Updated to 11.1.0

Port From (https://github.com/TrinityCore/TrinityCore/commit/23624ed75abc8cbb77bb2e24a08e0836e4c41db5)
This commit is contained in:
Hondacrx
2025-06-16 14:47:31 -04:00
parent b6bccbad44
commit 7fd54e6175
65 changed files with 4240 additions and 3968 deletions
+3 -3
View File
@@ -51,7 +51,7 @@ namespace Game.Spells
Unit _target;
Aura _base;
AuraRemoveMode _removeMode; // Store info for know remove aura reason
byte _slot; // Aura slot on unit
ushort _slot; // Aura slot on unit
AuraFlags _flags; // Aura info flag
uint _effectsToApply; // Used only at spell hit to determine which effect should be applied
bool _needClientUpdate;
@@ -70,7 +70,7 @@ namespace Game.Spells
Cypher.Assert(GetTarget() != null && GetBase() != null);
// Try find slot for aura
byte slot = 0;
ushort slot = 0;
// Lookup for auras already applied from spell
foreach (AuraApplication visibleAura in GetTarget().GetVisibleAuras())
{
@@ -314,7 +314,7 @@ namespace Game.Spells
public Unit GetTarget() { return _target; }
public Aura GetBase() { return _base; }
public byte GetSlot() { return _slot; }
public ushort GetSlot() { return _slot; }
public AuraFlags GetFlags() { return _flags; }
public uint GetEffectMask() { return _effectMask; }
public bool HasEffect(uint effect)