Esempio n. 1
0
 internal static int calcHitRoll(this Charakter charakter)
 {
     if (charakter.HasAdvantage())
     {
         return(RollHandler.RollAdvantage());
     }
     if (charakter.HasDisAdvantage())
     {
         return(RollHandler.RollDisadvantage());
     }
     return(DiceSimulator.RollD20());
 }
        public CharakterOrder(Charakter charakter)
        {
            Initiative = DiceSimulator.RollD20() + charakter.Initiative;

            Charakter = charakter;
        }