Attributes: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
Line 44: Line 44:
=== Spell-based Attribute modifications ===
=== Spell-based Attribute modifications ===


Curse/bless [[Spellcasting|spells]] subtract/add one point per caster level for all attributes. Other spells don't modify attributes.
Curse/bless [[Spellcasting|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>, Curse,  <caster_level>) = -1 * <caster_level>
  modspell(<attribute>, Bless,  <caster_level>) = 1 * <caster_level>
  modspell(<attribute>, Bless,  <caster_level>) = 1 * <caster_level>
Line 50: Line 50:


  modspell_<attribute> = ∑<spell>,<caster_level>[ modspell(<attribute>, <spell>, <caster_level>) ]
  modspell_<attribute> = ∑<spell>,<caster_level>[ modspell(<attribute>, <spell>, <caster_level>) ]
<b><font color="red">TODO</font></b>: Clarify <code>caster_level</code>!


=== Full Attributes ===
=== Full Attributes ===

Revision as of 06:30, 7 March 2013

Arx Fatalis has four base attributes:

Name Shorthand Alias Affected Skills
Strength Str Object knowledge (0.5), Close combat (2), Projectile (1)
Mental Men Mind Technical (1), Intuition (2), Ethereal link (2), Object knowledge (1.5), Casting (2)
Dexterity Dex Stealth (2), Technical (1), Object knowledge (0.5), Close combat (1), Projectile (2)
Constitution Con Defense (3)

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

Absolute Item-based Attribute modifications

Equipped items can add or remove attribute points:

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

Relative Item-based Attribute modifications

Alternatively, equipped items can also add or remove a percentage of the attribute points:

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)