public Attribute(I3W6 dice) { Stärke = new Attribut(dice.Würfeln()); Geschicklichkeit = new Attribut(dice.Würfeln()); Ausdauer = new Attribut(dice.Würfeln()); Persönlichkeit = new Attribut(dice.Würfeln()); Intelligenz = new Attribut(dice.Würfeln()); Glück = new Attribut(dice.Würfeln()); }
public Character(I3W6 attributWürfel, IW100 berufWürfel, IW30 zeichenWürfel, IW4 trefferpunkteWürfel, I5W12 geldWürfel, IW24 handelsWarenWürfel) { Attribute = new Attribute(attributWürfel); Beruf = Beruf.Random(berufWürfel); Geburtszeichen = Geburtszeichen.Random(zeichenWürfel, Attribute.Glück.Modifikator); Trefferpunkte = Math.Max(trefferpunkteWürfel.Würfeln() + Attribute.Ausdauer.Modifikator, 1); Startkapital = $"{geldWürfel.Würfeln()} KM"; Ausrüstung = Ausrüstung.Random(handelsWarenWürfel); }