diff options
Diffstat (limited to 'LUA_API.rst')
| -rw-r--r-- | LUA_API.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/LUA_API.rst b/LUA_API.rst index f532d221..bf7ee45a 100644 --- a/LUA_API.rst +++ b/LUA_API.rst @@ -918,6 +918,11 @@ Units module Returns the age of the unit in years as a floating-point value. If ``true_age`` is true, ignores false identities. +* ``dfhack.units.getNominalSkill(unit, skill[, use_rust])`` + + Retrieves the nominal skill level for the given unit. If ``use_rust`` + is *true*, subtracts the rust penalty. + * ``dfhack.units.getEffectiveSkill(unit, skill)`` Computes the effective rating for the given skill, taking into account exhaustion, pain etc. |
