Osiris/API/AttributeGetDifficultyLevelMappedValue

From Divinity Engine Wiki
Revision as of 12:52, 1 November 2018 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call AttributeGetDifficultyLevelMappedValue([in](STRING)_Difficulty, [in](INTEGER)_Level, [out](INTEGER)_AttributeValue)
Description

Returns a level-mapped value of a primary attribute that corresponds to how_Difficulty it would be for a character of level _Level to pass an attribute check.

Return Values
  • Success/Failure: Fails if _Difficulty is invalid.
  • _AttributeValue: The required value of the attribute.
Notes
  • The accepted input strings for _difficulty are:
Easy
Normal
Hard
See Also