Get the difficulty level of the encounter.
- An object representing a placed encounter. (Default: OBJECT_SELF)
Returns the difficulty level of the given encounter, this is the VALUE column in encdifficulty.2da.
You cannot get the ENCOUNTER_DIFFICULTY_* Constants returned by this. To work around it use a local variable on the object to store this value, or do a reverse lookup using Get2DAString using the encdifficulty.2da.
The values returned are the same as the ID column for VERY_EASY, EASY, and NORMAL (0, 1 and 2 respectively) but HARD is 5 and IMPOSSIBLE is 9. Also custom values can be added to encdifficulty.2da.
author: John Shuell