Attributes: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "Arx Fatalis has four base attributes: {| class="wikitable sortable" ! Name ! Shorthand ! Alias |- | Strength | Str | |- | Mental | Men | Mind |- | Dexterity | Dex | |- | Constit...")
 
No edit summary
Line 25: Line 25:


=== Absolute Item-based Attribute modifications ===
=== Absolute Item-based Attribute modifications ===
Equipped items can add or remove attribute points:


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


=== Relative Item-based Attribute modifications ===
=== 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(<item>, <attribute>) = modpercent(<item>, <attribute>) / 100

Revision as of 13:06, 10 July 2012

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

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)