public string Get() { var sb = new StringBuilder(); if (!string.IsNullOrEmpty(effectDescription)) { sb.Append(effectDescription + "; "); } int i = 0; while (i < (numberOfReRolls - 1)) { sb.Append(effectFactory.GetFactory(tableDiceRoll.Roll()).Get() + "; "); i++; } sb.Append(effectFactory.GetFactory(tableDiceRoll.Roll()).Get()); return(sb.ToString()); }
public string Get() { return(pitTrapContents + " " + pitContentEffectFactory.GetFactory(pitTrapTableDie.Roll()).Get()); }
public string Get() { return(gasTrapContents + " " + gasTrapContentFactory.GetFactory(gasTrapTableDie.Roll()).Get()); }
public string Get() { var mechanism = mechanismFactory.GetFactory(mechanismTableDie.Roll()).Get(); return(string.Format("{0} ({1})", effectDescription, mechanism)); }
public string Get() { return(effectDescription + "\r\n" + effectFactory.GetFactory(mainTableDice.Roll()).Get()); }