doit4science
Neophyte
I think the colored spawn rates for the Cu Sidhes might be off after taking a look at the code and the uoguide table which it is based on:
20000 85.830% 2216 Standard
500 2.146% 2422 Dull Copper
500 2.146% 2424 Copper
500 2.146% 2303 Bronze
500 2.146% 2218 Grey
500 2.146% 1445 Agapite
500 2.146% 1317 Sky Blue
500 2.146% 1317 Echo Blue
50 0.215% 1152 Ice Blue
50 0.215% 1151 Pure White
50 0.215% 1650 Wine Red
50 0.215% 1199 Pink
50 0.215% 1299 Valorite Blue #0
50 0.215% 1107 Black
1 0.004% 1161 or 1159 blaze/fire
Lines 21 through 28 of CuSidhe.cs assign the hue:
21 double chance = Utility.RandomDouble() * 23301;
22
23 if (chance <= 1)
24 Hue = 0x489;
25 else if (chance < 50)
26 Hue = Utility.RandomList(0x657, 0x515, 0x4B1, 0x481, 0x482, 0x455);
27 else if (chance < 500)
28 Hue = Utility.RandomList(0x97A, 0x978, 0x901, 0x8AC, 0x5A7, 0x527);
If I am following the logic correctly, the 23301 comes from adding all of the spawn numbers together. And if this is the case, then the chance of a standard colored Cu Sidhe is too high: (23301 - 1 - 50 - 500)/23301 = 0.97635 or 97.64%. This would explain why the other colors seem to be so rare. Instead I think the chances should be the sum of the color possibilities at each rate:
double chance = Utility.RandomDouble() * 23301; // total possibilities 20000 + 500*6 + 50*6 + 1
if (chance <= 1) // possibility of blaze or fire
Hue = 0x489;
else if (chance < 300) // possibility of ice blue, pure white, wine red, pink, valorite blue, or black
Hue = Utility.RandomList(0x657, 0x515, 0x4B1, 0x481, 0x482, 0x455);
else if (chance < 3000) // possibility of dull copper, copper, bronze, grey, agapite, sky blue, or echo blue (sky and echo same hue)
Hue = Utility.RandomList(0x97A, 0x978, 0x901, 0x8AC, 0x5A7, 0x527);
With this logic the rate of standard colored Cu Sidhe matches the table: (23301 - 1 - 300 - 3000)/23301 = 0.8583 or 85.83%.
Also, the table percentage calculations appear to use 23301 as the total number of possibilities, even though it would be 23801 if sky blue and echo blue were both included. Not sure what is going on there so I just went with 23301 so that the percentages work out.
20000 85.830% 2216 Standard
500 2.146% 2422 Dull Copper
500 2.146% 2424 Copper
500 2.146% 2303 Bronze
500 2.146% 2218 Grey
500 2.146% 1445 Agapite
500 2.146% 1317 Sky Blue
500 2.146% 1317 Echo Blue
50 0.215% 1152 Ice Blue
50 0.215% 1151 Pure White
50 0.215% 1650 Wine Red
50 0.215% 1199 Pink
50 0.215% 1299 Valorite Blue #0
50 0.215% 1107 Black
1 0.004% 1161 or 1159 blaze/fire
Lines 21 through 28 of CuSidhe.cs assign the hue:
21 double chance = Utility.RandomDouble() * 23301;
22
23 if (chance <= 1)
24 Hue = 0x489;
25 else if (chance < 50)
26 Hue = Utility.RandomList(0x657, 0x515, 0x4B1, 0x481, 0x482, 0x455);
27 else if (chance < 500)
28 Hue = Utility.RandomList(0x97A, 0x978, 0x901, 0x8AC, 0x5A7, 0x527);
If I am following the logic correctly, the 23301 comes from adding all of the spawn numbers together. And if this is the case, then the chance of a standard colored Cu Sidhe is too high: (23301 - 1 - 50 - 500)/23301 = 0.97635 or 97.64%. This would explain why the other colors seem to be so rare. Instead I think the chances should be the sum of the color possibilities at each rate:
double chance = Utility.RandomDouble() * 23301; // total possibilities 20000 + 500*6 + 50*6 + 1
if (chance <= 1) // possibility of blaze or fire
Hue = 0x489;
else if (chance < 300) // possibility of ice blue, pure white, wine red, pink, valorite blue, or black
Hue = Utility.RandomList(0x657, 0x515, 0x4B1, 0x481, 0x482, 0x455);
else if (chance < 3000) // possibility of dull copper, copper, bronze, grey, agapite, sky blue, or echo blue (sky and echo same hue)
Hue = Utility.RandomList(0x97A, 0x978, 0x901, 0x8AC, 0x5A7, 0x527);
With this logic the rate of standard colored Cu Sidhe matches the table: (23301 - 1 - 300 - 3000)/23301 = 0.8583 or 85.83%.
Also, the table percentage calculations appear to use 23301 as the total number of possibilities, even though it would be 23801 if sky blue and echo blue were both included. Not sure what is going on there so I just went with 23301 so that the percentages work out.

