Osiris/API/AttributeGetDifficultyLevelMappedValue

From Divinity Engine Wiki
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