skill_require_db.txt 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. //===== rAthena Documentation ================================
  2. //= rAthena Skill Requirement Reference
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Last Updated: ========================================
  6. //= 20140831
  7. //===== Description: =========================================
  8. //= Explanation of the skill_require_db.txt file and structure.
  9. //============================================================
  10. Structure:
  11. SkillID,HPCost,MaxHPTrigger,SPCost,HPRateCost,SPRateCost,ZenyCost,RequiredWeapons,RequiredAmmoTypes,RequiredAmmoAmount,RequiredState,RequiredStatuses,SpiritSphereCost,RequiredItemID1,RequiredItemAmount1,RequiredItemID2,RequiredItemAmount2,RequiredItemID3,RequiredItemAmount3,RequiredItemID4,RequiredItemAmount4,RequiredItemID5,RequiredItemAmount5,RequiredItemID6,RequiredItemAmount6,RequiredItemID7,RequiredItemAmount7,RequiredItemID8,RequiredItemAmount8,RequiredItemID9,RequiredItemAmount9,RequiredItemID10,RequiredItemAmount10,RequiredEquipment
  12. ---------------------------------------
  13. SkillID: The ID of the skill.
  14. See 'db\(pre-)re\skill_db.txt' for more details.
  15. ---------------------------------------
  16. HPCost: Amount of HP needed to use the skill.
  17. ---------------------------------------
  18. MaxHPTrigger: Player's HP must be below this % of Max HP in order to use the skill.
  19. ---------------------------------------
  20. SPCost: Amount of SP needed to use the skill.
  21. ---------------------------------------
  22. HPRateCost: If more than 0, the percentage of the player's current HP.
  23. If less than 0, the percentage of the player's Max HP.
  24. ---------------------------------------
  25. SPRateCost: If more than 0, the percentage of the player's current SP.
  26. If less than 0, the percentage of the player's Max SP.
  27. ---------------------------------------
  28. ZenyCost: Amount of Zeny needed to use the skill.
  29. ---------------------------------------
  30. RequiredWeapons: Weapon type needed to use the skill.
  31. 0: bare fist
  32. 1: Daggers
  33. 2: One-handed swords
  34. 3: Two-handed swords
  35. 4: One-handed spears
  36. 5: Two-handed spears
  37. 6: One-handed axes
  38. 7: Two-handed axes
  39. 8: Maces
  40. 9: Unused
  41. 10: Staves
  42. 11: Bows
  43. 12: Knuckles
  44. 13: Musical Instruments
  45. 14: Whips
  46. 15: Books
  47. 16: Katars
  48. 17: Revolvers
  49. 18: Rifles
  50. 19: Gatling guns
  51. 20: Shotguns
  52. 21: Grenade launchers
  53. 22: Fuuma Shurikens
  54. 23: Two-handed staves
  55. 24: Max Type
  56. 25: Dual-wield Daggers
  57. 26: Dual-wield Swords
  58. 27: Dual-wield Axes
  59. 28: Dagger + Sword
  60. 29: Dagger + Axe
  61. 30: Sword + Axe
  62. Up to 30 ':'-separated values can be used, e.g.
  63. type1:type2:type3
  64. ---------------------------------------
  65. RequiredAmmoTypes: Ammo type needed to use the skill.
  66. 1: Arrows
  67. 2: Throwable daggers
  68. 3: Bullets
  69. 4: Shells
  70. 5: Grenades
  71. 6: Shuriken
  72. 7: Kunai
  73. 8: Cannonballs
  74. 9: Throwable Items (Sling Item)
  75. Up to 9 ':'-separated values can be used, e.g.
  76. type1:type2:type3
  77. ---------------------------------------
  78. RequiredAmmoAmount: Amount of ammo needed to use the skill.
  79. ---------------------------------------
  80. RequiredState: The active 'State' needed to use the skill.
  81. none = Nothing.
  82. hidden = Requires hidden status by using Hiding, Cloaking, or Chasewalk.
  83. riding = Requires the player to ride either a Peco or a Dragon.
  84. falcon = Requires a Falcon.
  85. cart = Requires a Pushcart.
  86. For renewal, this state can be replaced by SC_PUSH_CART in 'RequiredStatuses' field.
  87. shield = Requires an equipped shield.
  88. recover_weight_rate = Requires to be less than 50% weight.
  89. move_enable = Requires to be able to move.
  90. water = Requires to be standing on a water cell.
  91. dragon = Requires to ride a Dragon.
  92. warg = Requires a Warg.
  93. ridingwarg = Requires to ride a Warg.
  94. mado = Requires to have an active Mado.
  95. elementalspirit = Requires to have an Elemental Spirit summoned.
  96. peco = Requires riding a Peco.
  97. ---------------------------------------
  98. RequiredStatuses: The active statuses needed to use the skill.
  99. Up to 3 ':'-separated values can be used, e.g.
  100. SC_STATUS1:SC_STATUS2:SC_STATUS3
  101. See MAX_SKILL_STATUS_REQUIRE in 'src/map/skill.hpp' to modify the max number
  102. of possible values, and 'src/map/script_constants.hpp' for a list of status constants.
  103. Use any number or SC_ALL to disable status requirements.
  104. ---------------------------------------
  105. SpiritSphereCost: Amount of Spirit Sphere needed to use the skill.
  106. ---------------------------------------
  107. RequiredItemID1..10: Items to be consumed when the skill is used (max 10).
  108. ---------------------------------------
  109. RequiredItemAmount1..10: Amount of each item consumed when the skill is used.
  110. If 0, the item is required to be in the inventory but won't be consumed.
  111. ---------------------------------------
  112. RequiredEquipment: Specific equipment IDs needed to use the skill.
  113. Up to 10 ':'-separated values can be used, e.g.
  114. item1:item2:item3
  115. See MAX_SKILL_EQUIP_REQUIRE in 'src/map/skill.hpp' to modify the max number
  116. of possible values.
  117. ---------------------------------------
  118. NOTE: On some fields, the ':' delimiter means for each skill level, but there
  119. are some level dependent checks. See 'skill_get_requirement()' in
  120. 'src/map/skill.cpp'.