private PowerScroll CreateRandomPowerScroll() { int level; double random = Utility.RandomDouble(); if (0.05 >= random) { level = 20; } else if (0.4 >= random) { level = 15; } else { level = 10; } return(PowerScroll.CreateRandom(level, level)); }
public static PowerScroll CreateRandomPowerScroll(Expansion e) { int level; double random = Utility.RandomDouble(); if (0.05 >= random) { level = 20; } else if (0.25 >= random) { level = 15; } else if (0.50 >= random) { level = 10; } else { level = 5; } return(PowerScroll.CreateRandom(level, level, e)); }
private PowerScroll CreateRandomPowerScroll() { return(PowerScroll.CreateRandom(5, 25)); }