Merge pull request #84 from nanakiwurtz/master
Added skill_require_db.txt documentation.
This commit is contained in:
commit
20ac4c9d7a
145
doc/skill_require_db.txt
Normal file
145
doc/skill_require_db.txt
Normal file
@ -0,0 +1,145 @@
|
|||||||
|
//===== rAthena Documentation ================================
|
||||||
|
//= rAthena Skill Requirement Reference
|
||||||
|
//===== By: ==================================================
|
||||||
|
//= rAthena Dev Team
|
||||||
|
//===== Last Updated: ========================================
|
||||||
|
//= 20140719
|
||||||
|
//===== Description: =========================================
|
||||||
|
//= Explanation of the skill_require_db.txt file and structure.
|
||||||
|
//============================================================
|
||||||
|
|
||||||
|
Structure:
|
||||||
|
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
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
SkillID: The ID of the skill. (See \db\[re|pre-re]\skill_db.txt for more details)
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
HPCost: Amount of HP needed to use the skill.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
MaxHPTrigger: Player's HP has to be below this % of Max HP, in order to use the skill.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
SPCost: Amount of SP needed to use the skill.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
ZenyCost: Amount of Zeny needed to use the skill.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
RequiredWeapons: Player needs to equip this type of weapon, in order to use the skill.
|
||||||
|
0: bare fist
|
||||||
|
1: Daggers
|
||||||
|
2: One-handed swords
|
||||||
|
3: Two-handed swords
|
||||||
|
4: One-handed spears
|
||||||
|
5: Two-handed spears
|
||||||
|
6: One-handed axes
|
||||||
|
7: Two-handed axes
|
||||||
|
8: Maces
|
||||||
|
9: Unused
|
||||||
|
10: Staves
|
||||||
|
11: Bows
|
||||||
|
12: Knuckles
|
||||||
|
13: Musical Instruments
|
||||||
|
14: Whips
|
||||||
|
15: Books
|
||||||
|
16: Katars
|
||||||
|
17: Revolvers
|
||||||
|
18: Rifles
|
||||||
|
19: Gatling guns
|
||||||
|
20: Shotguns
|
||||||
|
21: Grenade launchers
|
||||||
|
22: Fuuma Shurikens
|
||||||
|
23: Two-handed staves
|
||||||
|
24: Max Type
|
||||||
|
25: Dual-wield Daggers
|
||||||
|
26: Dual-wield Swords
|
||||||
|
27: Dual-wield Axes
|
||||||
|
28: Dagger + Sword
|
||||||
|
29: Dagger + Axe
|
||||||
|
30: Sword + Axe
|
||||||
|
|
||||||
|
Example usage of multiple values = type1:type2:type3
|
||||||
|
Maximum multiple value is 30.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
RequiredAmmoTypes: Player needs to equip this type of ammo to use the skill.
|
||||||
|
1: Arrows
|
||||||
|
2: Throwable daggers
|
||||||
|
3: Bullets
|
||||||
|
4: Shells
|
||||||
|
5: Grenades
|
||||||
|
6: Shuriken
|
||||||
|
7: Kunai
|
||||||
|
8: Cannonballs
|
||||||
|
9: Throwable Items (Sling Item)
|
||||||
|
|
||||||
|
Example usage of multiple values = type1:type2:type3
|
||||||
|
Maximum multiple value is 9.
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
RequiredAmmoAmount: Amount of ammo needed to use the skill.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
RequiredState: Specify the 'State' required to be active, in order to use the skill.
|
||||||
|
none = Nothing special.
|
||||||
|
hidden = Requires hidden status by using Hiding, Cloaking, or Chasewalk.
|
||||||
|
riding = Requires the player to ride either a Peco or a Dragon.
|
||||||
|
falcon = Requires a Falcon.
|
||||||
|
cart = Requires a Pushcart (For renewal, this state can be replaced by SC_PUSH_CART in 'RequiredStatuses' field).
|
||||||
|
shield = Requires a shield equipped.
|
||||||
|
recover_weight_rate = Requires to be less than 50% weight.
|
||||||
|
move_enable = Requires to be able to move.
|
||||||
|
water = Requires to be standing on a water cell.
|
||||||
|
dragon = Requires to ride a Dragon.
|
||||||
|
warg = Requires a Warg.
|
||||||
|
ridingwarg = Requires to ride a Warg.
|
||||||
|
mado = Requires to have an active Mado.
|
||||||
|
elementalspirit = Requires to have an Elemental Spirit summoned.
|
||||||
|
peco = Requires riding a Peco.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
RequiredStatuses: List of status needed to be active, in order to use the skill.
|
||||||
|
Example usage of values = SC_STATUS1:SC_STATUS2:SC_STATUS3 (see db/const.txt for more details).
|
||||||
|
Maximum multiple value is 3. (Refer to skill.h: MAX_SKILL_STATUS_REQUIRE)
|
||||||
|
Use any number or SC_ALL to disable status requirements.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
SpiritSphereCost: Amount of Spirit Sphere needed to use the skill.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
RequiredItemID1-10: These items will be used when players use the skill. Maximum of 10 items.
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
RequiredItemAmount1-10: Amount of item used when player uses the skill.
|
||||||
|
0 means the item is required to be in inventory but won't be consumed.
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
RequiredEquipment: Player needs to equip these equipments to use the skill. (Use Item ID).
|
||||||
|
Example usage of multiple values = item1:item2:item3
|
||||||
|
Maximum multiple value is 10. (Refer to skill.h: MAX_SKILL_EQUIP_REQUIRE)
|
||||||
|
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
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)
|
Loading…
x
Reference in New Issue
Block a user