Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public static Geburtszeichen Random(IW30 dice, int bonus)
 {
     return(new Geburtszeichen(GeburtszeichenDict.Value[dice.Würfeln()], bonus));
 }