Osiris/API/AttributeGetDifficultyLevelMappedValue: Difference between revisions
Jump to navigation
Jump to search
(Created page with "===== Full Definition(s) ===== * call '''AttributeGetDifficultyLevelMappedValue'''('''[in]'''''(STRING)'''''_difficulty''', '''[in]'''''(INTEGER)'''''_level''', '''[out]'''''(...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
* call '''AttributeGetDifficultyLevelMappedValue'''('''[in]'''''(STRING)''''' | * call '''AttributeGetDifficultyLevelMappedValue'''('''[in]'''''(STRING)'''''_Difficulty''', '''[in]'''''(INTEGER)'''''_Level''', '''[out]'''''(INTEGER)'''''_AttributeValue''') | ||
===== Description ===== | ===== Description ===== | ||
Returns a level-mapped value of a primary attribute. | 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 ===== | ===== Notes ===== | ||
* The accepted input strings for '''_difficulty''' are: | * The accepted input strings for '''_difficulty''' are: | ||
Line 13: | Line 16: | ||
| Hard | | Hard | ||
|} | |} | ||
===== See Also ===== | |||
* [[Osiris/API/Osiris/API/CharacterGetAttribute|CharacterGetAttribute]] | |||
* Helper [[Osiris/Shared/DB_GLO_Attribute_Check_AgainstLevel]] | |||
* Helper [[Osiris/Shared/DB_GLO_Attribute_Check_AgainstSpeaker]] | |||
[[Category:Osiris Queries|AttributeGetDifficultyLevelMappedValue]] | [[Category:Osiris Queries|AttributeGetDifficultyLevelMappedValue]] | ||
[[Category:Osiris Queries (Added in DOS2DE)|AttributeGetDifficultyLevelMappedValue]] | [[Category:Osiris Queries (Added in DOS2DE)|AttributeGetDifficultyLevelMappedValue]] |
Latest revision as of 10:52, 1 November 2018
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 |