1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-02-06 07:58:46 +00:00
openmw/apps/openmw
Léo Peltier 5c4e1252e9 Handle AutoCalc flag when getting spell cost
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.
2021-06-20 13:42:28 +02:00
..
mwbase Tone down actor's skip simulation flag to an optional skip collision 2021-05-01 14:22:30 +02:00
mwclass Trim down some internal includes 2021-04-30 19:39:26 +02:00
mwdialogue Use ciEqual to determine actor-specific answers 2021-05-27 17:13:04 +02:00
mwgui Handle AutoCalc flag when getting spell cost 2021-06-20 13:42:28 +02:00
mwinput Do not trigger in-game bindings via mouse buttons when controls are disabled (bug #6047) 2021-05-17 12:23:56 +04:00
mwmechanics Handle AutoCalc flag when getting spell cost 2021-06-20 13:42:28 +02:00
mwphysics Use modified paralyze magnitude to fall and float 2021-05-28 16:55:54 +02:00
mwrender Merge branch 'at' into 'master' 2021-06-19 00:26:48 +00:00
mwscript Don't resolve a script's target just to get the ID 2021-06-19 19:26:57 +02:00
mwsound Fix future FFMpeg API changes 2021-06-01 10:56:48 -05:00
mwstate Always center loading screen progress bar by height when there is active message box 2021-05-26 23:29:37 +02:00
mwworld Handle AutoCalc flag when getting spell cost 2021-06-20 13:42:28 +02:00
android_main.cpp android: Switch to C++ 2019-04-28 18:21:31 -04:00
CMakeLists.txt Create defaults.bin at configure time 2021-05-09 21:00:49 +01:00
doc.hpp
engine.cpp Stop osg viewer threading before destructing engine 2021-05-21 23:16:15 +02:00
engine.hpp Remove unused forward declarations 2021-04-11 14:46:51 +02:00
main.cpp Implement instanced groundcover 2021-01-26 22:29:41 +04:00