Xivgear Types Documentation
    Preparing search index...

    JobDataConst represents the subset of job-related data which we do not pull from Xivapi. These are mostly manually curated.

    interface JobDataConst {
        aaPotency: number;
        autoAttackStat:
            | "vitality"
            | "strength"
            | "dexterity"
            | "intelligence"
            | "mind";
        excludedRelicSubstats: readonly Substat[];
        gcdDisplayOverrides?: (
            level: 70 | 80 | 90 | 100,
        ) => GcdDisplayOverride[] | null;
        irrelevantSubstats?: readonly Substat[];
        mainStat: "vitality" | "strength" | "dexterity" | "intelligence" | "mind";
        maxLevel: 70 | 80 | 90 | 100;
        meldParamIndex: number;
        offhand?: boolean;
        role: "Healer" | "Melee" | "Ranged" | "Caster" | "Tank";
        secondaryStat: Substat;
        traitMulti?: (
            level: number,
            attackType:
                | "Unknown"
                | "Auto-attack"
                | "Spell"
                | "Weaponskill"
                | "Ability"
                | "Item",
        ) => number;
        traits?: readonly JobTrait[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    aaPotency: number

    Auto-attack potency amount

    autoAttackStat: "vitality" | "strength" | "dexterity" | "intelligence" | "mind"

    The primary stat as used for auto-attack calculations specifically

    excludedRelicSubstats: readonly Substat[]

    Substats which are NOT already in irrelevantSubstats, but which cannot be put onto custom relics.

    e.g. Healers and Tanks cannot put DHit on their custom relics.

    gcdDisplayOverrides?: (level: 70 | 80 | 90 | 100) => GcdDisplayOverride[] | null

    Override the GCD columns to display in the main gear table.

    You can specify multiple columns.

    Can return null to keep the defaults.

    irrelevantSubstats?: readonly Substat[]

    Substats which are completely irrelevant to this class, e.g. TNC on non-tanks

    mainStat: "vitality" | "strength" | "dexterity" | "intelligence" | "mind"

    The primary stat

    maxLevel: 70 | 80 | 90 | 100

    The maximum level of the job.

    meldParamIndex: number

    Which BaseParam.MeldParam index to use for calculating stat caps. Makes hardcoded itemStatCapMultipliers obsolete. Since these only have numeric indices with no indication of which is which, it is derived from looking at gear pieces of the same ilvl and comparing their stats across different jobs. However, there are many rows which are identical for

    offhand?: boolean

    True if this class uses 1H+Offhand rather than 2H weapons

    role: "Healer" | "Melee" | "Ranged" | "Caster" | "Tank"

    The role of the job

    secondaryStat: Substat

    The secondary substat for the purposes of items such as pre-order earrings.

    traitMulti?: (
        level: number,
        attackType:
            | "Unknown"
            | "Auto-attack"
            | "Spell"
            | "Weaponskill"
            | "Ability"
            | "Item",
    ) => number

    Optional function to apply a damage multiplication trait.

    traits?: readonly JobTrait[]

    Optional list of stat-modifying traits