skill_require_db.txt 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 weapon to use the skill. (Use Item ID).
  28. ---------------------------------------
  29. RequiredAmmoTypes: Player needs to equip this ammo to use the skill. (Use Item ID).
  30. ---------------------------------------
  31. RequiredAmmoAmount: Amount of ammo needed to use the skill.
  32. ---------------------------------------
  33. RequiredState: Specify the 'State' required to be active, in order to use the skill.
  34. none = Nothing special.
  35. hidden = Requires hidden status by using Hiding, Cloaking, or Chasewalk.
  36. riding = Requires the player to ride either a Peco or a Dragon.
  37. falcon = Requires a Falcon.
  38. cart = Requires a Pushcart (For renewal, this state can be replaced by SC_PUSH_CART in 'RequiredStatuses' field).
  39. shield = Requires a shield equipped.
  40. recover_weight_rate = Requires to be less than 50% weight.
  41. move_enable = Requires to be able to move.
  42. water = Requires to be standing on a water cell.
  43. dragon = Requires to ride a Dragon.
  44. warg = Requires a Warg.
  45. ridingwarg = Requires to ride a Warg.
  46. mado = Requires to have an active Mado.
  47. elementalspirit = Requires to have an Elemental Spirit summoned.
  48. peco = Requires riding a Peco.
  49. ---------------------------------------
  50. RequiredStatuses: List of status needed to be active, in order to use the skill.
  51. Example usage of values = SC_STATUS1:SC_STATUS2:SC_STATUS3 (see db/const.txt for more details).
  52. Maximum multiple value is 3. (Refer to skill.h: MAX_SKILL_STATUS_REQUIRE)
  53. Use any number or SC_ALL to disable status requirements.
  54. ---------------------------------------
  55. SpiritSphereCost: Amount of Spirit Sphere needed to use the skill.
  56. ---------------------------------------
  57. RequiredItemID1-10: These items will be used when players use the skill. Maximum of 10 items.
  58. ---------------------------------------
  59. RequiredItemAmount1-10: Amount of item used when player uses the skill.
  60. ---------------------------------------
  61. RequiredEquipment: Player needs to equip these equipments to use the skill. (Use Item ID).
  62. Example usage of multiple values = item1:item2:item3
  63. Maximum multiple value is 10. (Refer to skill.h: MAX_SKILL_EQUIP_REQUIRE)
  64. ---------------------------------------