public CastSpellParams(Spell spell, bool isWeaponSpell, uint magicSkill, uint manaUsed, WorldObject target, Player.CastingPreCheckStatus status) { Spell = spell; IsWeaponSpell = isWeaponSpell; MagicSkill = magicSkill; ManaUsed = manaUsed; Target = target; Status = status; }
public void SetCastParams(Spell spell, bool isWeaponSpell, uint magicSkill, uint manaUsed, WorldObject target, Player.CastingPreCheckStatus status) { CastSpellParams = new CastSpellParams(spell, isWeaponSpell, magicSkill, manaUsed, target, status); if (Player.RecordCast.Enabled && CastSpellParams.Target != null) { Player.RecordCast.Log($"Target Location: {CastSpellParams.Target.Location.ToLOCString()}"); } }
public void SetCastParams(Spell spell, bool isWeaponSpell, uint magicSkill, uint manaUsed, WorldObject target, Player.CastingPreCheckStatus status) { CastSpellParams = new CastSpellParams(spell, isWeaponSpell, magicSkill, manaUsed, target, status); }