Elemental Skill Icon

Data Type

An Object used to specify an icon for an Elemental Skill.

Fields

Field Type Default Description
icon Identifier The path to the file that contains the Elemental Skill icon.
cooldown Identifier optional The namespace and ID of a power that uses the Resource (Power Type) or a power type that has a built-in cooldown. When specified, uses values from this power to render the cooldown instead of the cooldown provided in the original power.
reverse Boolean false Whether or not the cooldown value should be reversed. Origin powers have their cooldown go from 0 to max, so the cooldown will be rendered accordingly. If you use a custom cooldown that goes the opposite way (max to 0), then set this to true.
charges Integer 1 The amount of charges this skill has. Maximum of 3. Charges only start being rendered at 2. Specifying 1 will not render any sort of charges on the skill.
charge_render Charge Render optional Determines how the charges of this Elemental Skill are visualized.
condition Array of Objects optional Each object has to have an icon Identifier and a condition Entity Condition Type object. The first icon with the condition on the list that holds true will be the icon used for the Elemental Skill. If no such icon exists, renders no Elemental Skill.
disable_condition Entity Condition Type optional If specified, the Elemental Skill will appear "disabled" when this provided condition holds true. This condition will not override the "disable_condition" field found in Elemental Skill, but instead will be joined with the other condition using an or.

Examples

{
    "icon": "origins-genshin:skills/elemental_skill_enhanced.png",
    "condition": {
        "type": "origins:sneaking"
    }
}

This is an example of an Elemental Skill Icon using the origins-genshin:skills/elemental_skill_enhanced.png texture that is only shown when the player is sneaking.

Images

Elemental Skill

Anatomy of an Elemental Skill Icon.

Elemental Skill with Charges

Anatomy of an Elemental Skill Icon using the Charge Render.