Skip to content
  • -'s avatar
    5c4e1252
    Handle AutoCalc flag when getting spell cost · 5c4e1252
    - authored
    Fixes #5483
    
    This only applies to "base game" spells.
    When adding an AutoCalc spell with TES:CS its cost is computed and
    stored inside game files. This stored cost was being used by OpenMW and
    the actual cost was never recomputed at runtime whereas Morrowind.exe
    discards the stored cost.
    While this worked fine in vanilla, mods can update AutoCalc spell
    effects without ever updating the stored cost.
    
    The formula was mostly there already but there was a few differences,
    namely a 1 second offset in duration.
    5c4e1252
    Handle AutoCalc flag when getting spell cost
    - authored
    Fixes #5483
    
    This only applies to "base game" spells.
    When adding an AutoCalc spell with TES:CS its cost is computed and
    stored inside game files. This stored cost was being used by OpenMW and
    the actual cost was never recomputed at runtime whereas Morrowind.exe
    discards the stored cost.
    While this worked fine in vanilla, mods can update AutoCalc spell
    effects without ever updating the stored cost.
    
    The formula was mostly there already but there was a few differences,
    namely a 1 second offset in duration.
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading