Added some implicit operators to spell casting.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace Game.Entities
|
||||
protected float[][] m_weaponDamage = new float[(int)WeaponAttackType.Max][];
|
||||
|
||||
uint[] m_baseAttackSpeed = new uint[(int)WeaponAttackType.Max];
|
||||
internal float[] m_modAttackSpeedPct = new float[(int)WeaponAttackType.Max];
|
||||
public float[] m_modAttackSpeedPct = new float[(int)WeaponAttackType.Max];
|
||||
protected uint[] m_attackTimer = new uint[(int)WeaponAttackType.Max];
|
||||
bool _isCombatDisallowed;
|
||||
|
||||
|
||||
@@ -2823,7 +2823,7 @@ namespace Game.Entities
|
||||
return aurApp?.GetBase();
|
||||
}
|
||||
|
||||
AuraApplication GetAuraApplicationOfRankedSpell(uint spellId, ObjectGuid casterGUID = default, ObjectGuid itemCasterGUID = default, uint reqEffMask = 0, AuraApplication except = null)
|
||||
public AuraApplication GetAuraApplicationOfRankedSpell(uint spellId, ObjectGuid casterGUID = default, ObjectGuid itemCasterGUID = default, uint reqEffMask = 0, AuraApplication except = null)
|
||||
{
|
||||
uint rankSpell = Global.SpellMgr.GetFirstSpellInChain(spellId);
|
||||
while (rankSpell != 0)
|
||||
|
||||
Reference in New Issue
Block a user