public override void ResetVariables() { base.ResetVariables(); _treasureName = new DocContentItem(""); _origin = TreasureOrigin.Undefined; _craftsmanship = TreasureCraftsmanship.Undefined; _miraclesOfTheDarkAge = new List <DocContentItem>(); _xenosConstruction = new DocContentItem(""); _markOfTheCurse = new DocContentItem(""); _quirk1 = ""; _quirk2 = ""; }
private void GenerateCraftsmanship(int bonus = 0) { int randValue = Globals.RollD10() + bonus; if (randValue <= 2) { _craftsmanship = TreasureCraftsmanship.Poor; } else if (randValue <= 7) { _craftsmanship = TreasureCraftsmanship.Common; } else if (randValue <= 9) { _craftsmanship = TreasureCraftsmanship.Good; } else { _craftsmanship = TreasureCraftsmanship.Best; } }
private void GenerateFinelyWrought() { _craftsmanship = TreasureCraftsmanship.Best; _quirk1 = GenerateQuirk(); }