Sets the current Encounter Journal difficulty according to a bitmask.
Sets the current Encounter Journal difficulty according to a bitmask.
[b]Notes regarding the behavior of this function:[/b]
Any value below zero will not change the current diffculty setting.
A value of zero will set the current difficulty setting to 10-man normal
A value above zero that does not have the lowest four set (f.ex.: 16 [10000]) will set the current difficulty to 25-man normal
Of the lowest 4 bits of the value, only the lowest bit that is set to 1 will be parsed by the function.
For example, a value of 3 [0011] will set the current difficulty to 10-man normal, while a value of 6 [0110] will set the current difficulty to 25-man normal.
Signature:
Code
EJ_SetDifficultyByMask(difficultyMask)
Arguments:
difficultyMask - A bitmask describing the difficulty to select. All bits past the lowest 1 bit are discarded. (number, bitfield)