User Tools

Site Tools



frenkey_template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
frenkey_template [2021/03/22 14:03] – [Fictional Example] frenkeyfrenkey_template [2021/08/26 16:06] (current) frenkey
Line 1: Line 1:
-0This is the format we need the skill data in: +<html>
-  * API: https://api.guildwars2.com/v2/skills?ids=**SKILL_ID** +
-  * WIKI: https://wiki.guildwars2.com/wiki/**SKILL_NAME** +
-  * GAME:  d(Player:GetSpellInfoByID(**SKILL_ID**))+
  
 +<iframe src="https://docs.google.com/document/d/e/2PACX-1vRDIJcNcalTJAniwmABQdVYMRTZisYS9PahqfDviwvUtjpHq2-3sJZRmkALvwKmOYGgxK4RP45-LHtz/pub?embedded=true" style="width:100%; height:1000px;></iframe>
  
- +</html>
-===== Conditional Skill ===== +
-<code lua> +
-   --- standalone +
-      conditional_skill = { +
-         standalone = true, +
-         conditions = { "fire", "air" }, +
-      } +
-       +
-       +
-   --- "related" +
-      conditional_skill = { +
-         standalone = false, +
-         global = "5-90", +
-         conditions = { "stealth" }, +
-      }, +
-</code> +
- +
-A **Conditional Skill** (''conditional_skill'') is a skill that is tied to some conditions such are:{{ ::frenkey:conditionals.png?400|}} +
-  * 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:  +
-<code> +
-"stealth" +
-"fire" +
-"water" +
-"air" +
-"earth" +
-"sword" +
-"dagger" +
-"pistol" +
-"beastmode" +
-"pvp" +
-"wvw" +
-</code> +
- +
-===== Conditional Skills ===== +
-<code lua> +
-      conditional_skills = { +
-        "4-168", +
-      } +
-</code> +
- +
-**Conditional Skills** (''conditional_skills'') lists all "conidtion childs" of a skill. +
-<color #ed1c24>Only the "main" skill can have the ''conditional_skills'' key!</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 = { +
-         "NoUnderwater", +
-      }, +
-</code> +
- +
-Flags (''flags'') contains some information about the skill and its restrictions. Those are from the API and can be added manually if needed. +
-Common flags are: +
- +
-<code> +
-"NoUnderwater" +
-"GroundTargeted" +
-</code> +
- +
-===== Flip Skill ===== +
-<code lua> +
-      --- Optional: flip_skill from the API data, basically the next skill in a chain +
-      flip_skill = "4-27", +
-</code> +
- +
-Flip skills (''flip_skill'') are skills that come next in a skill chain or change based on events/traits/use. +
-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 = { +
-      }, +
-</code> +
-The ground effect (''ground_effect'') table is empty atm and will be filled with the information from torx, such as radius, identifier etc +
- +
-===== Ground Target ===== +
-<code lua> +
-      --- Required: ground targeted true/false - from game data `d(Player:GetSpellInfoByID(skill_id))` +
-      ground_target = false, +
-</code> +
-(''ground_target'') Value that tells us if a skill is ground targeted or not, info is contained in the game data +
- +
-===== ID ===== +
-<code lua> +
-      --- Required: id set, for now CN and EU are the same, global id is assigned by me +
-      id = { +
-         CN = 12525, +
-         ["EU-NA"] = 12525, +
-         global = "4-27", +
-      }, +
-</code> +
-The ID (''id'') is the unique identifier. We have 3 different IDs, CN, EU-NA, and global. The global ID is assigned by me and will never change. If you found a missing skill, tell me about it and i will assign a global 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 = "Maul", +
-         ["EU-NA"] = "Maul", +
-         global = "Maul", +
-      }, +
-</code> +
-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 = { +
-         "Ranger", +
-      }, +
-</code> +
-The professions (''professions'') table is supposed to tell us which class has access to that skill. Not only skills of the same class can be used as some skills can be gained through a transformation or a bundle. E.g. Elementalist Conjures. Possible Professions are: +
-<code> +
-"Guardian" +
-"Warrior" +
-"Revenant" +
-"Necromancer" +
-"Mesmer" +
-"Elementalist" +
-"Thief" +
-"Ranger" +
-"Engineer" +
-</code> +
- +
-===== Slot ===== +
-<code lua> +
- +
-      --- Required: The slot in which the skill is in +
-      slot = "Weapon_2", +
-</code> +
-The Slot key (''slot'') tells us in which slot the skill would be. +
-Possible slots are: +
-<code> +
-"Weapon_1" +
-"Weapon_2" +
-"Weapon_3" +
-"Weapon_4" +
-"Weapon_5" +
-"Heal" +
-"Utility" +
-"Elite" +
-"Profession_1" +
-"Profession_2" +
-"Profession_3" +
-"Profession_4" +
-"Profession_5" +
-"Downed_1" +
-"Downed_2" +
-"Downed_3" +
-"Downed_4" +
-"Downed_5" +
-"Pet" +
-"Toolbelt" +
-"Mount" +
-"Special" +
-</code> +
- +
- +
-===== Skill Type===== +
-<code lua> +
-      --- Required: Skill Type +
-      type = "Weapon", +
-</code> +
-The Skill Type (''type'') tells us what the skill is bound to. Possible types are: +
-<code> +
-"Weapon" +
-"Heal" +
-"Utility" +
-"Elite" +
-"Toolbelt" +
-"Bundle" +
-</code> +
- +
-===== Weapon Type ===== +
-<code lua> +
-      --- Required: Weapon Type +
-      weapon_type = "Greatsword", +
-</code> +
-Kinda obvious one. Just tells us which weapon type the skill is tied to. Possible values: +
-<code> +
-"None" +
-"Greatsword" +
-"Hammer" +
-"Longbow" +
-"Rifle" +
-"Dagger" +
-"Axe" +
-"Mace" +
-"Shield" +
-"Warhorn" +
-"Sword" +
-"Torch" +
-"Speargun" +
-"Spear" +
-"Scepter" +
-"Pistol" +
-"Shortbow" +
-"Focus" +
-"Trident" +
-"Staff" +
-</code> +
- +
-===== Bundle Skill ===== +
-<code lua> +
-      bundle_skill = "6-204", +
-</code> +
-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 = { +
-         "3-137", +
-         "3-217", +
-         "3-179", +
-         "3-171", +
-         "3-139", +
-      }, +
-</code> +
-Listing all the skills that are tied to the bundle.  +
-<color #ed1c24>Only the "main" skill can have the ''bundle_skills'' key!</color> +
- +
- +
-===== Chain Skills ===== +
-<code lua> +
-      chain_skills = { +
-           "6-55", +
-           "6-56", +
-      }, +
-</code> +
-Listing all the skills that are tied to the chain.  +
-<color #ed1c24>Only the "main" skill can have the ''chain'' key!</color> +
- +
-===== Chain Skill===== +
-<code lua> +
-      chain_skill = "4-27", +
-</code> +
-Tells us if that skill is part of a chain or not and which main skill it is tied to +
- +
-===== Water ===== +
-<code lua> +
-      water = true, +
-</code> +
-Simple true/false tells us if that skill is only used in aquatic combat or not +
- +
-===== Fictional Example ===== +
-<code lua> +
-local tbl = { +
-   ["4-27"] = { +
-      bundle_skills = { +
-         "3-137", +
-         "3-217", +
-         "3-179", +
-         "3-171", +
-         "3-139", +
-      }, +
-       +
-      --- Optional +
-      conditional_skills = { +
-        "4-168", +
-      }, +
- +
-      --- Required +
-      flags = { +
-         "NoUnderwater", +
-      }, +
- +
-      --- Optional +
-      flip_skill = "4-27", +
- +
-      --- Required +
-      ground_effect = { +
-      }, +
- +
-      --- Required +
-      ground_target = false, +
- +
-      --- Required +
-      id = { +
-         CN = 12525, +
-         ["EU-NA"] = 12525, +
-         global = "4-27", +
-      }, +
- +
-      --- Required +
-      name = { +
-         CN = "Maul", +
-         ["EU-NA"] = "Maul", +
-         global = "Maul", +
-      }, +
- +
-      --- Required +
-      professions = { +
-         "Ranger", +
-         "Guardian" +
-      }, +
- +
-      --- Required +
-      slot = "Weapon_2", +
- +
-      --- Required +
-      type = "Weapon", +
- +
-      --- Required +
-      weapon_type = "Greatsword", +
-   }, +
-+
-</code> +
frenkey_template.1616421814.txt.gz · Last modified: 2021/03/22 14:03 by frenkey