Skip to content

MWSE v0.9.5-alpha.20171111

Pre-release
Pre-release
Compare
Choose a tag to compare
@Merzasphor Merzasphor released this 11 Nov 06:54
· 18 commits to master since this release

Added

  • New function to get maximum, current (modified), and unmodified encumbrance:
    xGetEncumbrance.
  • New functions to get maximum magicka and fatigue, to complement xGetMaxHealth:
    xGetMaxMagicka, xGetMaxFatigue

Changed

  • xMessageFix, xStringBuild, xLogMessage, xFileWriteText print a message to the
    log when invalid format codes are encountered. The log message contains the
    invalid codes, the original format string, and the resulting string.
  • xGetMagic now works with NPC and creature references, in addition to the
    player.
  • xGetMaxHealth, xGetSkill, xGetBaseAttribute, xGetAttribute, xModAttribute now
    work with creature references, in addition to the player and NPCs.
  • xGetEnchant now works with ammo.

Fixed

  • Better handling of invalid format codes in xMessageFix, xStringBuild,
    xLogMessage, xFileWriteText. All invalid codes are removed in the resulting
    string, preventing them from propagating to MessageBox via xMessageFix and
    potentially causing a crash.