renewal.hpp 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
  2. // For more information, see LICENCE in the main folder
  3. #ifndef CONFIG_RENEWAL_HPP
  4. #define CONFIG_RENEWAL_HPP
  5. //quick option to disable all renewal option, used by ./configure
  6. //#define PRERE
  7. #ifndef PRERE
  8. /**
  9. * rAthena configuration file (http://rathena.org)
  10. * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
  11. **/
  12. /**
  13. * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
  14. **/
  15. /// Game renewal server mode
  16. /// (disable by commenting the line)
  17. ///
  18. /// Leave this line to enable renewal specific support such as renewal formulas
  19. #define RENEWAL
  20. /// Renewal cast time
  21. /// (disable by commenting the line)
  22. ///
  23. /// Leave this line to enable renewal casting time algorithms and enable fixed cast bonuses.
  24. /// See also default_fixed_castrate in conf/battle/skill.conf for default fixed cast time (default is 20%).
  25. /// Cast time is altered be 2 portion, Variable Cast Time (VCT) and Fixed Cast Time (FCT).
  26. /// By default FCT is 20% of VCT (some skills aren't)
  27. /// - VCT is decreased by DEX * 2 + INT.
  28. /// - FCT is NOT reduced by stats, reduced by equips or buffs.
  29. /// Example:
  30. /// On a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a FCT
  31. #define RENEWAL_CAST
  32. /// Renewal drop rate algorithms
  33. /// (disable by commenting the line)
  34. ///
  35. /// Leave this line to enable renewal item drop rate algorithms
  36. /// While enabled a special modified based on the difference between the player and monster level is applied
  37. /// Based on the http://irowiki.org/wiki/Drop_System#Level_Factor table
  38. #define RENEWAL_DROP
  39. /// Renewal exp rate algorithms
  40. /// (disable by commenting the line)
  41. ///
  42. /// Leave this line to enable renewal item exp rate algorithms
  43. /// While enabled a special modified based on the difference between the player and monster level is applied
  44. #define RENEWAL_EXP
  45. /// Renewal level modifier on damage
  46. /// (disable by commenting the line)
  47. ///
  48. // Leave this line to enable renewal base level modifier on skill damage (selected skills only)
  49. #define RENEWAL_LVDMG
  50. /// Renewal ASPD [malufett]
  51. /// (disable by commenting the line)
  52. ///
  53. /// Leave this line to enable renewal ASPD
  54. /// - shield penalty is applied
  55. /// - AGI has a greater factor in ASPD increase
  56. /// - there is a change in how skills/items give ASPD
  57. /// - some skill/item ASPD bonuses won't stack
  58. #define RENEWAL_ASPD
  59. /// Renewal stat calculations
  60. /// (disable by commenting the line)
  61. ///
  62. /// Leave this line to enable renewal calculation for increasing status/parameter points
  63. #define RENEWAL_STAT
  64. #endif
  65. #endif /* CONFIG_RENEWAL_HPP */