Ejemplo n.º 1
0
        public virtual bool ExecuteSpell(Entity me, SpellEnabled target = null)
        {
            if (!CanExecuteSpell(me, target))
            {
                return(false);
            }

            SpellEffect(me, target);
            return(true);
        }
Ejemplo n.º 2
0
        internal bool CanCast(Entity owner, SpellEnabled target)
        {
            // TODO implement conditions

            return(true);
        }
Ejemplo n.º 3
0
 public bool CanExecuteSpell(Entity me, SpellEnabled target = null)
 {
     return(true);
 }