Attributes

From Arx Libertatis Wiki
Revision as of 12:59, 10 July 2012 by Ds (talk | contribs) (Created page with "Arx Fatalis has four base attributes: {| class="wikitable sortable" ! Name ! Shorthand ! Alias |- | Strength | Str | |- | Mental | Men | Mind |- | Dexterity | Dex | |- | Constit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Arx Fatalis has four base attributes:

Name Shorthand Alias
Strength Str
Mental Men Mind
Dexterity Dex
Constitution Con

The raw attribute values without any modifiers are known as raw_<attribute>.

Absolute Item-based Attribute modifications

modabs_<attribute> = ∑<item>[ modabs(<item>, <attribute>) ]

Relative Item-based Attribute modifications

modrel(<item>, <attribute>) = modpercent(<item>, <attribute>) / 100
modrel_<attribute> = ∑<item>[ modrel(<item>, <attribute>) ] * ( raw_<attribute> + modabs_<attribute> )

Spell-based Attribute modifications

Curse/bless spells subtract/add one point per caster level for all attributes. Other spells don't modify attributes.

modspell(<attribute>, Curse, <caster_level>) = -1 * <caster_level>
modspell(<attribute>, Bless, <caster_level>) = 1 * <caster_level>
modspell(<attribute>, <spell>, <caster_level>) = 0
modspell_<attribute> = ∑<spell>,<caster_level>[ modspell(<attribute>, <spell>, <caster_level>) ]

Full Attributes

full_<attribute> = max(0, raw_<attribute> + modabs_<attribute> + modrel_<attribute> + modspell_<attribute> + cheats)