spell_level_adjustment does not account for spells whose traits are calculated using the math function #66641
Labels
[C++]
Changes (can be) made in C++. Previously named `Code`
Help Wanted
Not particularly urgent or easy (see Good First Issue for this), but help is appreciated with this!
Mechanics: Enchantments / Spells
Enchantments and spells
(S2 - Confirmed)
Bug that's been confirmed to exist
Describe the bug
Trying to make holding on to a matrix crystal enhance psionic powers the way Mind over Matter lore suggests it should. However, it looks like math only calculates based on the original level of the power, totally ignoring spell_level_adjustment.
Dev version of Mom:
MindOverMatter.zip
Attach save file
Roundup-trimmed.tar.gz
Steps to reproduce
Expected behavior
spell_level_adjustment and math properly work together
Screenshots
Power level 2:

Power level 6, holding crystal, same damage and range (casting time, which does not use the math function, is properly updated):

Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth],
No Rail Stations [No_Rail_Stations],
Mind Over Matter [mindovermatter]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: