Advertisement
mzxrules

Kokiri Fairy Colors

Feb 6th, 2016
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. r=200-255, g=000-000, b=000-000
  2. r=200-255, g=000-255, b=000-000
  3. r=200-255, g=000-000, b=000-255
  4. r=000-000, g=200-255, b=000-000
  5. r=000-255, g=200-255, b=000-000
  6. r=000-000, g=200-255, b=000-255
  7. r=000-000, g=000-000, b=200-255
  8. r=000-255, g=000-000, b=200-255
  9. r=000-000, g=000-255, b=200-255
  10. r=200-255, g=200-255, b=000-000
  11. r=200-255, g=000-000, b=200-255
  12. r=000-000, g=200-255, b=200-255
  13.  
  14.  
  15. The chance that the last color variation will be used is slightly lower than the rest (only ~8.257% vs ~8.340%). This is because the color variation is picked by generating a random floating point between 0 and 11.99 exclusive, which is then cast to an integer create the index to the table, suggesting that the developer didn't understand that the max bounds of the rand function is exclusive.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement