예제 #1
0
        public Items CombineMagicalProperty(Items item)
        {
            Excalibur NoMagicalItem = new Excalibur();

            NoMagicalItem.Magical = false;
            NoMagicalItem.Name   += " Taimed";

            Console.WriteLine($"Now you can use {item.Name} thanks to the powers of the wand. However, as you used it, the wand dissappeared.");

            return(NoMagicalItem);
        }
예제 #2
0
 public Items Fuse(IFusionMaterial material)
 {
     this.FusionResult  = new Avalon();
     this.OtherMaterial = new Excalibur();
     if (material.Check().Name == this.OtherMaterial.Check().Name)
     {
         return(FusionResult);
     }
     else
     {
         return(this);
     }
 }