HexMod
HexMod copied to clipboard
Scout's with no media and no enlightenment still succeeds

i think this is an issue with all ConstMediaActions. Not sure if it's changed for 0.11 though
Let's test it in the 1.20.1 prereleases.
Issue still present in Fabric 0.15.10 Hex casting pre-634
The issue occurs because ConstMediaAction calls execute in Action#operate, which runs before media is withdrawn in side effects.
I guess the fix would be to do something similar to SpellAction, where ConstMediaAction adds a side effect to actually do the work of the action?
(edit: seems to work the same on 1.19 and 1.20)
okay, I see why it doesn't already work like that - none of the side effects on 1.19 are able to modify the harness state, so they wouldn't be able to push stuff to the stack. In 1.20 we could maybe use AttemptSpell?