skill_require_db.txt 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. //===== rAthena Documentation ================================
  2. //= rAthena Skill Requirement Reference
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Last Updated: ========================================
  6. //= 20140719
  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. (See \db\[re|pre-re]\skill_db.txt for more details)
  14. ---------------------------------------
  15. HPCost: Amount of HP needed to use the skill.
  16. ---------------------------------------
  17. MaxHPTrigger: Player's HP has to be below this % of Max HP, in order to use the skill.
  18. ---------------------------------------
  19. SPCost: Amount of SP needed to use the skill.
  20. ---------------------------------------
  21. HPRateCost: If more than 0, it's a percentage of the player's current HP. If less than 0, it's a percentage of the player's Max HP.
  22. ---------------------------------------
  23. SPRateCost: If more than 0, it's a percentage of the player's current SP. If less than 0, it's a percentage of the player's Max SP.
  24. ---------------------------------------
  25. ZenyCost: Amount of Zeny needed to use the skill.
  26. ---------------------------------------
  27. RequiredWeapons: Player needs to equip this type of weapon, in order to use the skill.
  28. 0: bare fist
  29. 1: Daggers
  30. 2: One-handed swords
  31. 3: Two-handed swords
  32. 4: One-handed spears
  33. 5: Two-handed spears
  34. 6: One-handed axes
  35. 7: Two-handed axes
  36. 8: Maces
  37. 9: Unused
  38. 10: Staves
  39. 11: Bows
  40. 12: Knuckles
  41. 13: Musical Instruments
  42. 14: Whips
  43. 15: Books
  44. 16: Katars
  45. 17: Revolvers
  46. 18: Rifles
  47. 19: Gatling guns
  48. 20: Shotguns
  49. 21: Grenade launchers
  50. 22: Fuuma Shurikens
  51. 23: Two-handed staves
  52. 24: Max Type
  53. 25: Dual-wield Daggers
  54. 26: Dual-wield Swords
  55. 27: Dual-wield Axes
  56. 28: Dagger + Sword
  57. 29: Dagger + Axe
  58. 30: Sword + Axe
  59. Example usage of multiple values = type1:type2:type3
  60. Maximum multiple value is 30.
  61. ---------------------------------------
  62. RequiredAmmoTypes: Player needs to equip this type of ammo to use the skill.
  63. 1: Arrows
  64. 2: Throwable daggers
  65. 3: Bullets
  66. 4: Shells
  67. 5: Grenades
  68. 6: Shuriken
  69. 7: Kunai
  70. 8: Cannonballs
  71. 9: Throwable Items (Sling Item)
  72. Example usage of multiple values = type1:type2:type3
  73. Maximum multiple value is 9.
  74. ---------------------------------------
  75. RequiredAmmoAmount: Amount of ammo needed to use the skill.
  76. ---------------------------------------
  77. RequiredState: Specify the 'State' required to be active, in order to use the skill.
  78. none = Nothing special.
  79. hidden = Requires hidden status by using Hiding, Cloaking, or Chasewalk.
  80. riding = Requires the player to ride either a Peco or a Dragon.
  81. falcon = Requires a Falcon.
  82. cart = Requires a Pushcart (For renewal, this state can be replaced by SC_PUSH_CART in 'RequiredStatuses' field).
  83. shield = Requires a shield equipped.
  84. recover_weight_rate = Requires to be less than 50% weight.
  85. move_enable = Requires to be able to move.
  86. water = Requires to be standing on a water cell.
  87. dragon = Requires to ride a Dragon.
  88. warg = Requires a Warg.
  89. ridingwarg = Requires to ride a Warg.
  90. mado = Requires to have an active Mado.
  91. elementalspirit = Requires to have an Elemental Spirit summoned.
  92. peco = Requires riding a Peco.
  93. ---------------------------------------
  94. RequiredStatuses: List of status needed to be active, in order to use the skill.
  95. Example usage of values = SC_STATUS1:SC_STATUS2:SC_STATUS3 (see db/const.txt for more details).
  96. Maximum multiple value is 3. (Refer to skill.h: MAX_SKILL_STATUS_REQUIRE)
  97. Use any number or SC_ALL to disable status requirements.
  98. ---------------------------------------
  99. SpiritSphereCost: Amount of Spirit Sphere needed to use the skill.
  100. ---------------------------------------
  101. RequiredItemID1-10: These items will be used when players use the skill. Maximum of 10 items.
  102. ---------------------------------------
  103. RequiredItemAmount1-10: Amount of item used when player uses the skill.
  104. 0 means the item is required to be in inventory but won't be consumed.
  105. ---------------------------------------
  106. RequiredEquipment: Player needs to equip these equipments to use the skill. (Use Item ID).
  107. Example usage of multiple values = item1:item2:item3
  108. Maximum multiple value is 10. (Refer to skill.h: MAX_SKILL_EQUIP_REQUIRE)
  109. ---------------------------------------
  110. Note: On some fields, ":" delimiter means for each skill level, but there are some level dependent check. (Refer to https://github.com/rathena/rathena/blob/master/src/map/skill.c#L14963)