Osiris/API/CharacterSetArmorPercentage

From Divinity Engine Wiki
Revision as of 12:25, 20 December 2017 by Tinkerer (talk | contribs) (Documented CharacterSetArmorPercentage and the related NO_ARMOR_REGEN tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call CharacterSetArmorPercentage((CHARACTERGUID)_Character, (INTEGER)_Percentage)
Description

Sets the physical armour percentage of _Character to _Percentage.

Notes
  • By default, when a character leaves combat its physical and magical armour will regenerate to 100%. You can prevent this by setting the tag NO_ARMOR_REGEN on a character.
See Also