refine_db.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. // Refine Database [Renewal]
  2. //
  3. // Structure of Database:
  4. // Type,Stats per level,Random bonus start level,Random bonus value,Chance+1:Bonus+1,Chance+2:Bonus+2,Chance+3:Bonus+3,...
  5. //
  6. // For armors, values of 100 add 1 armor defense.
  7. // For weapons, values of 100 add 1 ATK&MATK.
  8. //
  9. // Type:
  10. // 0 - Armors
  11. // 1 - Level 1 weapons
  12. // 2 - Level 2 weapons
  13. // 3 - Level 3 weapons
  14. // 4 - Level 4 weapons
  15. //
  16. // Stats per level:
  17. // This value is applied for every upgrade level.
  18. //
  19. // Random bonus start level:
  20. // This value specifies the start point for those levels that give a random bonus value (usually the first unsafe upgrade).
  21. //
  22. // Random bonus value:
  23. // A random number between 0 and (Random bonus start level - Upgrade level + 1) * this value is applied for all upgrades past
  24. // Random bonus start level. This is only applied for weapons, and not displayed client-side.
  25. //
  26. // Chance:
  27. // 100 = 100%
  28. //
  29. // Notes:
  30. // Changing the number of upgrade levels requires modifying MAX_REFINE in src/map/status.h.
  31. // For Renewal Armors, there may or may not be another bonus, according to iRO wiki: Every upgrade gives floor[( 3 + current upgrade ) / 4] equipment DEF)