示例#1
0
 public Potion(string name, string color, string texture, string bottle, Effect effect)
 {
     this.name = name;
       this.color = color;
       this.texture = texture;
       this.bottle = bottle;
       this.effect = effect;
       this.value = effect.magnitude * 5;
       this.indestructible = true;
 }
示例#2
0
 public Potion(string name, Effect effect)
 {
     this.name = name;
       this.effect = effect;
       this.color = "color";
       this.texture = "texture";
       this.bottle = "bottle";
       this.value = effect.magnitude * 5;
       this.indestructible = true;
 }