public void Cast( Spell spell ) { bool m = Movable; Movable = false; spell.Cast(); Movable = m; }
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." ); }
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; }