This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
frenkey_template [2021/03/21 19:20] – frenkey | frenkey_template [2021/08/26 16:06] (current) – frenkey | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | This is the format we need the skill data in: | + | < |
- | * API: https:// | + | |
- | * WIKI: https:// | + | |
- | * GAME: d(Player: | + | |
+ | <iframe src=" | ||
- | + | </html> | |
- | ===== Conditional Skill ===== | + | |
- | <code lua> | + | |
- | --- standalone | + | |
- | conditional_skill = { | + | |
- | | + | |
- | | + | |
- | } | + | |
- | + | ||
- | + | ||
- | --- " | + | |
- | conditional_skill = { | + | |
- | | + | |
- | CN = 13004, | + | |
- | | + | |
- | | + | |
- | | + | |
- | }, | + | |
- | </ | + | |
- | + | ||
- | A **Conditional Skill** ('' | + | |
- | * skills that change on stealth (thief) | + | |
- | * skills that change on weapon combinations (thief slot 3) | + | |
- | * skills that change on beastmode (ranger) | + | |
- | * skills that change on attunements (weaver slot 3) | + | |
- | + | ||
- | Possible conditions are: | + | |
- | < | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | </ | + | |
- | + | ||
- | ===== Conditional Skills ===== | + | |
- | <code lua> | + | |
- | conditional_skills = { | + | |
- | { | + | |
- | CN = 46629, | + | |
- | [" | + | |
- | global = " | + | |
- | } | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | **Conditional Skills** ('' | + | |
- | <color # | + | |
- | + | ||
- | + | ||
- | This means in the image only the following skills have that key: | + | |
- | * Maul (no soulbeast) | + | |
- | * Double Strike | + | |
- | * Twisting Fangs | + | |
- | + | ||
- | ===== Flags ===== | + | |
- | <code lua> | + | |
- | --- Required: Flags from the API data, can be empty | + | |
- | flags = { | + | |
- | " | + | |
- | }, | + | |
- | </ | + | |
- | + | ||
- | Flags ('' | + | |
- | Common flags are: | + | |
- | + | ||
- | < | + | |
- | " | + | |
- | " | + | |
- | </ | + | |
- | + | ||
- | ===== Flip Skills ===== | + | |
- | <code lua> | + | |
- | --- Optional: flip_skill from the API data, basically the next skill in a chain | + | |
- | flip_skill = { | + | |
- | CN = 46629, | + | |
- | | + | |
- | | + | |
- | }, | + | |
- | </ | + | |
- | + | ||
- | Flip skills ('' | + | |
- | This information can be found in the API but not needed atm. | + | |
- | + | ||
- | ===== Ground effect ===== | + | |
- | <code lua> | + | |
- | --- Required: ground_effect informations from torx, can be empty | + | |
- | ground_effect = { | + | |
- | }, | + | |
- | </ | + | |
- | The ground effect ('' | + | |
- | + | ||
- | ===== Ground Target ===== | + | |
- | <code lua> | + | |
- | --- Required: ground targeted true/false - from game data `d(Player: | + | |
- | ground_target = false, | + | |
- | </ | + | |
- | ('' | + | |
- | + | ||
- | ===== ID ===== | + | |
- | <code lua> | + | |
- | --- Required: id set, for now CN and EU are the same, global id is assigned by me | + | |
- | id = { | + | |
- | CN = 12525, | + | |
- | | + | |
- | | + | |
- | }, | + | |
- | </ | + | |
- | The ID ('' | + | |
- | + | ||
- | + | ||
- | ===== Name ===== | + | |
- | <code lua> | + | |
- | --- Required: name set, for now CN and EU are the same, global name is the same as EU, means right now all are the same | + | |
- | name = { | + | |
- | CN = " | + | |
- | | + | |
- | | + | |
- | }, | + | |
- | </ | + | |
- | Pretty much the same like ids, global = EU-NA and since we don't have CN data yet all 3 are the same. | + | |
- | + | ||
- | ===== Professions ===== | + | |
- | <code lua> | + | |
- | + | ||
- | --- Required: professions that can use the skill, either via bundle or by default; | + | |
- | --- the data is often not correct, means they list all professions or none, you will have to adjust it to be correct | + | |
- | professions = { | + | |
- | " | + | |
- | }, | + | |
- | </ | + | |
- | The professions ('' | + | |
- | < | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | </ | + | |
- | + | ||
- | ===== Slot ===== | + | |
- | <code lua> | + | |
- | + | ||
- | --- Required: The slot in which the skill is in | + | |
- | slot = " | + | |
- | </ | + | |
- | The Slot key ('' | + | |
- | Possible slots are: | + | |
- | < | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ===== Skill Type===== | + | |
- | <code lua> | + | |
- | --- Required: Skill Type | + | |
- | type = " | + | |
- | </ | + | |
- | The Skill Type ('' | + | |
- | < | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | </ | + | |
- | + | ||
- | ===== Weapon Type ===== | + | |
- | <code lua> | + | |
- | --- Required: Weapon Type | + | |
- | weapon_type = " | + | |
- | </ | + | |
- | Kinda obvious one. Just tells us which weapon type the skill is tied to. Possible values: | + | |
- | < | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | </ | + | |
- | + | ||
- | ===== Bundle Skill ===== | + | |
- | <code lua> | + | |
- | bundle_skill = { | + | |
- | CN = 5506, | + | |
- | | + | |
- | | + | |
- | }, | + | |
- | </ | + | |
- | The bundle skill works in 2 ways. It tells us that the skill is part of a bundle and shows us which "main skill" it is tied to. | + | |
- | + | ||
- | + | ||
- | ===== Bundle Skills ===== | + | |
- | <code lua> | + | |
- | bundle_skills = { | + | |
- | + | ||
- | { | + | |
- | CN = 5882, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | + | ||
- | { | + | |
- | CN = 5807, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | + | ||
- | { | + | |
- | CN = 5808, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | + | ||
- | { | + | |
- | CN = 5809, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | + | ||
- | { | + | |
- | CN = 5806, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | }, | + | |
- | </ | + | |
- | Listing all the skills that are tied to the bundle. | + | |
- | <color # | + | |
- | + | ||
- | + | ||
- | ===== Chain ===== | + | |
- | <code lua> | + | |
- | chain = { | + | |
- | { | + | |
- | CN = 25498, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | }, | + | |
- | </ | + | |
- | Listing all the skills that are tied to the chain. | + | |
- | <color # | + | |
- | + | ||
- | ===== Chain Skill===== | + | |
- | <code lua> | + | |
- | chain_skill = true, | + | |
- | </ | + | |
- | Simple true/false tells us if that skill is part of a chain or not | + | |
- | + | ||
- | ===== Water ===== | + | |
- | <code lua> | + | |
- | water = true, | + | |
- | </ | + | |
- | Simple true/false tells us if that skill is only used in aquatic combat or not | + | |
- | + | ||
- | ===== PvP ===== | + | |
- | <code lua> | + | |
- | pvp = true, | + | |
- | </ | + | |
- | Simple true/false tells us if that skill is only available in PvP/WvW | + | |
- | + | ||
- | ===== WvW ===== | + | |
- | <code lua> | + | |
- | wvw = true, | + | |
- | </ | + | |
- | Simple true/false tells us if that skill is only available in PvP/WvW | + | |
- | + | ||
- | ===== Fictional Example ===== | + | |
- | <code lua> | + | |
- | local tbl = { | + | |
- | | + | |
- | | + | |
- | { | + | |
- | CN = 24409, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | { | + | |
- | CN = 5760, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | { | + | |
- | CN = 24411, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | { | + | |
- | CN = 5761, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | { | + | |
- | CN = 5762, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | { | + | |
- | CN = 24407, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | { | + | |
- | CN = 24410, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | { | + | |
- | CN = 5763, | + | |
- | [" | + | |
- | global = " | + | |
- | }, | + | |
- | }, | + | |
- | + | ||
- | --- Optional | + | |
- | conditional_skills = { | + | |
- | { | + | |
- | CN = 46629, | + | |
- | [" | + | |
- | global = " | + | |
- | conditions = { " | + | |
- | } | + | |
- | }, | + | |
- | + | ||
- | --- Required | + | |
- | flags = { | + | |
- | " | + | |
- | }, | + | |
- | + | ||
- | --- Optional | + | |
- | flip_skill = { | + | |
- | CN = 46629, | + | |
- | | + | |
- | | + | |
- | }, | + | |
- | + | ||
- | --- Required | + | |
- | ground_effect = { | + | |
- | }, | + | |
- | + | ||
- | --- Required | + | |
- | ground_target = false, | + | |
- | + | ||
- | --- Required | + | |
- | id = { | + | |
- | CN = 12525, | + | |
- | | + | |
- | | + | |
- | }, | + | |
- | + | ||
- | --- Required | + | |
- | name = { | + | |
- | CN = " | + | |
- | | + | |
- | | + | |
- | }, | + | |
- | + | ||
- | --- Required | + | |
- | professions = { | + | |
- | " | + | |
- | " | + | |
- | }, | + | |
- | + | ||
- | --- Required | + | |
- | slot = " | + | |
- | + | ||
- | --- Required | + | |
- | type = " | + | |
- | + | ||
- | --- Required | + | |
- | weapon_type = " | + | |
- | }, | + | |
- | } | + | |
- | </code> | + |