/// <summary>
        /// Utilise le spell
        /// </summary>
        /// <param name="target"></param>
        protected override void DoUseSpell(SpellCastTargetInfo target)
        {
            base.DoUseSpell(target);

            // TODO ici : vérification de range etc...

            Spellcasts.SpellcastBase fireball = new Spellcasts.SpellcastBase(this, target);
            GameServer.GetMap().AddSpellcast(fireball);
        }
Beispiel #2
0
 /// <summary>
 /// Utilise le spell.
 /// </summary>
 /// <param name="target"></param>
 protected override void DoUseSpell(SpellCastTargetInfo target)
 {
     base.DoUseSpell(target);
     Spellcasts.SpellcastBase cast = new Spellcasts.SpellcastBase(this, target);
     GameServer.GetMap().AddSpellcast(cast);
 }