Cast() public method

public Cast ( ) : bool
return bool
Beispiel #1
0
		public void Cast( Spell spell )
		{
			bool m = Movable;

			Movable = false;
			spell.Cast();
			Movable = m;
		}
Beispiel #2
0
		public void Cast( Spell spell )
		{
			if ( CanUse( spell ) )
			{
				bool m = Movable;

				Movable = false;
				spell.Cast();
				Movable = m;
			}
			else
				spell.Caster.SendMessage( "You do not have the experience to wield the magical power of this item." );
		}
Beispiel #3
0
        public void Cast(Spell spell)
        {
            bool m = this.Movable;

            this.Movable = false;
            spell.Cast();
            this.Movable = m;
        }
		public void Cast( Spell spell )
		{
			bool clone = Movable;
			Movable = false;
			spell.Cast();
			Movable = clone;
		}