Example #1
0
 public ItemTemplate(string name, int level, ItemSlot slot, ItemStereotype stereotype, double attack = 0, double magicAttack = 0, double accuracy = 0, double criticalRate = 0, double defense = 0, double magicDefense = 0, double strength = 0, double intelligence = 0, double dexterity = 0, double hp = 0)
 {
     this.Name         = name;
     this.Level        = level;
     this.Slot         = slot;
     this.Stereotype   = stereotype;
     this.Attack       = attack;
     this.MagicAttack  = magicAttack;
     this.Accuracy     = accuracy;
     this.CriticalRate = criticalRate;
     this.Defense      = defense;
     this.MagicDefense = magicDefense;
     this.Strength     = strength;
     this.Intelligence = intelligence;
     this.Dexterity    = dexterity;
     this.HP           = hp;
 }
 public ItemTemplate(string name, int level, ItemSlot slot, ItemStereotype stereotype, double attack = 0, double magicAttack = 0, double accuracy = 0, double criticalRate = 0, double defense = 0, double magicDefense = 0, double strength = 0, double intelligence = 0, double dexterity = 0, double hp = 0)
 {
     this.Name = name;
     this.Level = level;
     this.Slot = slot;
     this.Stereotype = stereotype;
     this.Attack = attack;
     this.MagicAttack = magicAttack;
     this.Accuracy = accuracy;
     this.CriticalRate = criticalRate;
     this.Defense = defense;
     this.MagicDefense = magicDefense;
     this.Strength = strength;
     this.Intelligence = intelligence;
     this.Dexterity = dexterity;
     this.HP = hp;
 }