this.Skills[SkillName.MagicResist].Base = Utility.Random(20,40)
the above code produces a random number from 19 - 59
the first number is the minimum the second is the stepping.
remember that numbering starts at 0.
you can convert an Int to a double but only if that data type in runUO supports it.
|