Untitled
unknown
lua
a year ago
2.4 kB
32
Indexable
Never
local itemType = ItemType(id) local abilities = itemType:getAbilities() -- # index examples abilities.healthGain abilities.healthTicks abilities.manaGain abilities.manaTicks abilities.conditionImmunities abilities.conditionSuppressions abilities.speed abilities.elementDamage abilities.elementType abilities.manaShield abilities.invisible abilities.regeneration -- # stats abilities.stats[1] -- # max-health-points abilities.stats[2] -- # max-mana-points abilities.stats[3] -- # soul-points abilities.stats[4] -- # magic-level -- # stats percent abilities.statsPercent[1] -- # max-health-percent abilities.statsPercent[2] -- # max-mana-percent abilities.statsPercent[3] -- # soul-percent abilities.statsPercent[4] -- # magic-level-percent -- # skills abilities.skills[1] -- # fist-skill abilities.skills[2] -- # club-skill abilities.skills[3] -- # sword-skill abilities.skills[4] -- # axe-skill abilities.skills[5] -- # distance-skill abilities.skills[6] -- # shield-skill abilities.skills[7] -- # fish-skill -- # special skills abilities.specialSkills[1] -- # critical-chance abilities.specialSkills[2] -- # critical-amount abilities.specialSkills[3] -- # life-leech-chance abilities.specialSkills[4] -- # life-leech-amount abilities.specialSkills[5] -- # mana-leech-chance abilities.specialSkills[6] -- # mana-leech-amount -- # protections abilities.absorbPercent[1] -- # physical abilities.absorbPercent[2] -- # energy abilities.absorbPercent[3] -- # earth abilities.absorbPercent[4] -- # fire abilities.absorbPercent[5] -- # undefined (???) abilities.absorbPercent[6] -- # life-drain abilities.absorbPercent[7] -- # mana-drain abilities.absorbPercent[8] -- # healing (???) abilities.absorbPercent[9] -- # drown abilities.absorbPercent[10] -- # ice abilities.absorbPercent[11] -- # holy abilities.absorbPercent[12] -- # death -- # field protections abilities.fieldAbsorbPercent[1] -- # physical abilities.fieldAbsorbPercent[2] -- # energy abilities.fieldAbsorbPercent[3] -- # earth abilities.fieldAbsorbPercent[4] -- # fire abilities.fieldAbsorbPercent[5] -- # undefined (???) abilities.fieldAbsorbPercent[6] -- # life-drain abilities.fieldAbsorbPercent[7] -- # mana-drain abilities.fieldAbsorbPercent[8] -- # healing (???) abilities.fieldAbsorbPercent[9] -- # drown abilities.fieldAbsorbPercent[10] -- # ice abilities.fieldAbsorbPercent[11] -- # holy abilities.fieldAbsorbPercent[12] -- # death