Osiris/API/CharacterRemoveAttribute
From Divinity Engine Wiki
Full Definition(s)
- call CharacterRemoveAttribute((CHARACTERGUID)_Character, (STRING)_Attribute, (INTEGER)_Value)
Description
Subtracts _Value number of attribute pointsfrom the attribute _Attribute of character _Character.
Notes
- See CharacterGetAttribute for the list of valid attribute names.
- If _Value is negative, the effect is the same as using CharacterAddAttribute with the absolute value of _Value.
- If _Character or _Attribute are invalid, this call does nothing.