/// <summary> /// Waffe /// </summary> public Item(int id, String name, float gewicht, ITEMSLOT slot, float wert, bool verkaufbar, float quality, float angriffsgeschwindigkeit, float schaden, SCHADENSTYP schadensTyp) : this(id, name, gewicht, slot, wert, verkaufbar, quality) { this.angriffsgeschwindigkeit = angriffsgeschwindigkeit; this.schaden = schaden; this.schadensTyp = schadensTyp; //new Item(id, name, gewicht, ITEMTYP.Ausrüstung, slot, wert, true, angriffsgeschindigkeit, schaden, schadensTyp, 0, 0, 0, 0, 0, 0); } }
/// <summary> /// Extended DummyItem /// </summary> public Item(int id, String name, float gewicht, ITEMSLOT slot, float wert, bool verkaufbar,float quality) : this(id,name) { this.gewicht = this.gewichtGesamt = gewicht; this.slot = slot; this.wert = wert; this.verkaufbar = verkaufbar; this.quality = quality; }
/// <summary> /// Rüstung /// </summary> public Item(int id, String name, float gewicht, ITEMSLOT slot, float wert, bool verkaufbar, float quality, float wiederstandPhysisch, float wiederstandFeuer, float wiederstandWasser, float wiederstandErde, float wiederstandLuft, float wiederstandGift) : this(id, name, gewicht, slot, wert, verkaufbar, quality) { this.wiederstandPhysisch = wiederstandPhysisch; this.wiederstandFeuer = wiederstandFeuer; this.wiederstandWasser = wiederstandWasser; this.wiederstandErde = wiederstandErde; this.wiederstandLuft = wiederstandLuft; this.wiederstandGift = wiederstandGift; //new Item(id, name, gewicht, ITEMTYP.Ausrüstung, slot, wert, true, 0, 0, SCHADENSTYP.Undefined, wiederstandPhysisch, wiederstandFeuer, wiederstandWasser, wiederstandErde, wiederstandLuft, wiederstandGift); }