Yvan Major
Member
HI all, if i want to add a skill to an item, like in this reward sandals from tailoring, if i want the sandals to add +1, +3 or +5 to tailoring skill and want it to be over cap of the 120, how do i do that please ?
Code:
private static readonly ConstructCallback Sandals = new ConstructCallback(CreateSandals);
private static readonly int[] m_SandalHues = new int[]
{
0x489, 0x47F, 0x482,
0x47E, 0x48F, 0x494,
0x484, 0x497
};
private static Item CreateSandals(int type)
{
return new Sandals(m_SandalHues[Utility.Random(m_SandalHues.Length)]);
}