<commit_before>using ACE.Entity.Enum;
using ACE.Server.WorldObjects;

namespace ACE.Server.Entity
{
    public class CastSpellParams
    {
        public Spell Spell { get; set; }
        //public bool IsWeaponSpell { get; set; }
        public WorldObject Caster { get; set; }
        public uint MagicSkill { get; set; }
        public uint ManaUsed { get; set; }
        public WorldObject Target { get; set; }
        public Player.CastingPreCheckStatus Status { get; set; }

        public bool HasWindupGestures => !Spell.Flags.HasFlag(SpellFlags.FastCast) && Caster != null && Spell.Formula.HasWindupGestures;

        public CastSpellParams(Spell spell, WorldObject caster, uint magicSkill, uint manaUsed, WorldObject target, Player.CastingPreCheckStatus status)
        {
            Spell = spell;
            //IsWeaponSpell = isWeaponSpell;
            Caster = caster;
            MagicSkill = magicSkill;<commit_msg>Update CastSpellParams.cs (#3894)<commit_after>using ACE.Entity.Enum;
using ACE.Server.WorldObjects;

namespace ACE.Server.Entity
{
    public class CastSpellParams
    {
        public Spell Spell { get; set; }
        //public bool IsWeaponSpell { get; set; }
        public WorldObject Caster { get; set; }
        public uint MagicSkill { get; set; }
        public uint ManaUsed { get; set; }
        public WorldObject Target { get; set; }
        public Player.CastingPreCheckStatus Status { get; set; }

        public bool HasWindupGestures => !Spell.Flags.HasFlag(SpellFlags.FastCast) && Caster == null && Spell.Formula.HasWindupGestures;

        public CastSpellParams(Spell spell, WorldObject caster, uint magicSkill, uint manaUsed, WorldObject target, Player.CastingPreCheckStatus status)
        {
            Spell = spell;
            //IsWeaponSpell = isWeaponSpell;
            Caster = caster;
            MagicSkill = magicSkill;
{'fraction_non_alphanumeric': 0.08723404255319149, 'fraction_numerical': 0.002127659574468085, 'mean_word_length': 2.702755905511811, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '241524', 'n_tokens_mistral': 553, 'n_tokens_neox': 546, 'n_words': 145}