Exemplo n.º 1
0
Arquivo: Item.cs Projeto: Tonaplo/RPG
 public Item(string _name, EnumItemType _itype, EnumItemQuality _iquality, int _itemLevel)
 {
     this.itemName = _name;
     this.itemType = _itype;
     this.itemLevel = _itemLevel;
     this.itemQuality = _iquality;
 }
Exemplo n.º 2
0
 public Item(string _name, EnumItemType _itype, EnumItemQuality _iquality, int _itemLevel)
 {
     this.itemName    = _name;
     this.itemType    = _itype;
     this.itemLevel   = _itemLevel;
     this.itemQuality = _iquality;
 }
Exemplo n.º 3
0
 /// <summary>
 /// The main contructor to create a new weapon
 /// </summary>
 /// <param name="_name">The name of the Weapon</param>
 /// <param name="_itype">The Item type of the weapon. NOTE: This will always be EnumItemType.Weapon</param>
 /// <param name="_iquality">The quality of the weapon.</param>
 /// <param name="_itemLevel">The Itemlevel of the Weapon. NOTE: This will also be the base damage of the weapon</param>
 public Weapon(string _name, EnumItemType _itype, EnumItemQuality _iquality, int _itemLevel, EnumWeaponType _wtype, int _damage)
     : base(_name, _itype, _iquality, _itemLevel)
 {
     this.weaponType = _wtype;
     this.stats.Add(new UnitAttribute(EnumAttributeType.Attackdamage, _damage));
 }
Exemplo n.º 4
0
 public BattleCharm(string _name, EnumItemType _itype, EnumItemQuality _iquality, int _itemLevel)
     : base(_name, _itype, _iquality, _itemLevel)
 {
 }
Exemplo n.º 5
0
 /// <summary>
 /// The main contructor to create a new weapon
 /// </summary>
 /// <param name="_name">The name of the Weapon</param>
 /// <param name="_itype">The Item type of the weapon. NOTE: This will always be EnumItemType.Weapon</param>
 /// <param name="_iquality">The quality of the weapon.</param>
 /// <param name="_itemLevel">The Itemlevel of the Weapon. NOTE: This will also be the base damage of the weapon</param>
 public Weapon(string _name, EnumItemType _itype, EnumItemQuality _iquality, int _itemLevel, EnumWeaponType _wtype, int _damage)
     : base(_name, _itype, _iquality, _itemLevel)
 {
     this.weaponType = _wtype;
     this.stats.Add(new UnitAttribute(EnumAttributeType.Attackdamage, _damage));
 }
Exemplo n.º 6
0
Arquivo: Armor.cs Projeto: Tonaplo/RPG
 public Armor(string _name, EnumItemType _itype, EnumItemQuality _iquality, int _itemLevel, EnumArmorType _atype, int _armor)
     : base(_name, _itype, _iquality, _itemLevel)
 {
     this.armorType = _atype;
     this.stats.Add(new UnitAttribute(EnumAttributeType.Armor, _armor));
 }
Exemplo n.º 7
0
 public BattleCharm(string _name, EnumItemType _itype, EnumItemQuality _iquality, int _itemLevel)
     : base(_name, _itype, _iquality, _itemLevel)
 {
 }
Exemplo n.º 8
0
 public Armor(string _name, EnumItemType _itype, EnumItemQuality _iquality, int _itemLevel, EnumArmorType _atype, int _armor) : base(_name, _itype, _iquality, _itemLevel)
 {
     this.armorType = _atype;
     this.stats.Add(new UnitAttribute(EnumAttributeType.Armor, _armor));
 }