-----------------------------------
-- Job Traits
-----------------------------------
xi = xi or {}

---@enum xi.trait
xi.trait =
{
    -- Offset by 1536 from ROM\181\72.dat

    -- IF YOU ADD ANY NEW ENTRY HERE, ADD IT IN src/map/trait.h ALSO!

    ACCURACY_BONUS           =   1,
    EVASION_BONUS            =   2,
    ATTACK_BONUS             =   3,
    DEFENSE_BONUS            =   4,
    MAGIC_ATTACK_BONUS       =   5,
    MAGIC_DEFENSE_BONUS      =   6,
    MAX_HP_BOOST             =   7,
    MAX_MP_BOOST             =   8,
    AUTO_REGEN               =   9,
    AUTO_REFRESH             =  10,
    RAPID_SHOT               =  11,
    FAST_CAST                =  12,
    CONSERVE_MP              =  13,
    STORE_TP                 =  14,
    DOUBLE_ATTACK            =  15,
    TRIPLE_ATTACK            =  16,
    COUNTER                  =  17,
    DUAL_WIELD               =  18,
    TREASURE_HUNTER          =  19,
    GILFINDER                =  20,
    ALERTNESS                =  21,
    STEALTH                  =  22,
    MARTIAL_ARTS             =  23,
    CLEAR_MIND               =  24,
    SHIELD_MASTERY           =  25,

    BEAST_KILLER             =  32,
    PLANTOID_KILLER          =  33,
    VERMIN_KILLER            =  34,
    LIZARD_KILLER            =  35,
    BIRD_KILLER              =  36,
    AMORPH_KILLER            =  37,
    AQUAN_KILLER             =  38,
    UNDEAD_KILLER            =  39,

    ARCANA_KILLER            =  41,
    DEMON_KILLER             =  42,
    DRAGON_KILLER            =  43,

    RESIST_SLEEP             =  48,
    RESIST_POISON            =  49,
    RESIST_PARALYZE          =  50,
    RESIST_BLIND             =  51,
    RESIST_SILENCE           =  52,
    RESIST_PETRIFY           =  53,
    RESIST_VIRUS             =  54,
    RESIST_CURSE             =  55,
    RESIST_STUN              =  56,
    RESIST_BIND              =  57,
    RESIST_GRAVITY           =  58,
    RESIST_SLOW              =  59,
    RESIST_CHARM             =  60,

    RESIST_AMNESIA           =  63,
    TREASURE_HUNTER_II       =  64,
    TREASURE_HUNTER_III      =  65,
    KICK_ATTACKS             =  66,
    SUBTLE_BLOW              =  67,
    ASSASSIN                 =  68,
    DIVINE_VEIL              =  69,
    ZANSHIN                  =  70,
    SAVAGERY                 =  71,
    AGGRESSIVE_AIM           =  72,
    INVIGORATE               =  73,
    PENANCE                  =  74,
    AURA_STEAL               =  75,
    AMBUSH                   =  76,
    IRON_WILL                =  77,
    GUARDIAN                 =  78,
    MUTED_SOUL               =  79,
    DESPERATE_BLOWS          =  80,
    BEAST_AFFINITY           =  81,
    BEAST_HEALER             =  82,
    SNAPSHOT                 =  83,
    RECYCLE                  =  84,
    IKISHOTEN                =  85,
    OVERWHELM                =  86,
    NINJA_TOOL_EXPERTISE     =  87,
    EMPATHY                  =  88,
    STRAFE                   =  89,
    ENCHAINMENT              =  90,
    ASSIMILATION             =  91,
    WINNING_STREAK           =  92,
    LOADED_DECK              =  93,
    FINE_TUNING              =  94,
    OPTIMIZATION             =  95,
    CLOSED_POSITION          =  96,
    STORMSURGE               =  97,
    CRITICAL_ATTACK_BONUS    =  98,
    CRITICAL_DEFENSE_BONUS   =  99,
    TACTICAL_PARRY           = 100,
    TACTICAL_GUARD           = 101,
    SHIELD_DEFENSE_BONUS     = 102,
    STOUT_SERVANT            = 103,
    TRUE_SHOT                = 104,
    BLOOD_BOON               = 105,
    SKILLCHAIN_BONUS         = 106,
    FENCER                   = 107,
    CONSERVE_TP              = 108,
    OCCULT_ACUMEN            = 109,
    MAGIC_BURST_BONUS        = 110,
    DIVINE_BENISON           = 111,
    ELEMENTAL_CELERITY       = 112,
    DEAD_AIM                 = 113,
    TRANQUIL_HEART           = 114,
    STALWART_SOUL            = 115,
    CARDINAL_CHANT           = 116,
    TENACITY                 = 117,
    INQUARTATA               = 118,
    CURATIVE_RECANTATION     = 119,
    PRIMEVAL_ZEAL            = 120,
    INSPIRATION              = 121,
    SLEIGHT_OF_SWORD         = 122,
    DAKEN                    = 123,
    SUPERIOR                 = 124,
    MAGIC_ACCURACY_BONUS     = 125,
    MAGIC_EVASION_BONUS      = 126,
    SMITE                    = 127,

    DAMAGE_LIMIT_PLUS        = 129,
    ANIMUS_SOLACE            = 130,
    ANIMUS_MISERY            = 131,
    CON_ANIMA                = 132,
    CON_BRIO                 = 133,
    WEAPONSKILL_DAMAGE_BOOST = 134,
    MAX_HP_BOOST_II          = 135,
    SHIELD_BARRIER           = 136,
    TANDEM_STRIKE            = 137,
    TANDEM_BLOW              = 138,
}
