Advertisement
Dailyleaf

Nidoran DV Formula

Apr 8th, 2015
2,388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Expands on http://pastebin.com/GgZQ9vxu
  2.  
  3. let x = atkDV * 16 + dfnDV
  4. let y = spdDV * 16 + spcDV
  5.  
  6. //Then for grass with encounter rate 25 (i.e. Nidorans):
  7. floor(13 + 3/2 * y) <= x <= floor(26 + 3/2 * y)
  8. or
  9. floor(141 + 3/2 * y) <= x <= floor(154 + 3/2 * y)
  10.  
  11. //Extra comparisons to complete possibilities
  12. or
  13. floor(13 + 3/2 * y) <= x+256 <= floor(26 + 3/2 * y)
  14. or
  15. floor(141 + 3/2 * y) <= x+256 <= floor(154 + 3/2 * y)
  16. or
  17. floor(141 + 3/2 * y) <= x+512 <= floor(154 + 3/2 * y)
  18.  
  19. Full list:
  20. http://pastebin.com/iBT64Pkq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement