예제 #1
0
 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;
 }
예제 #2
0
파일: MagicState.cs 프로젝트: hooper82/ACE
        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()}");
            }
        }
예제 #3
0
파일: MagicState.cs 프로젝트: dgatewood/ACE
 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);
 }