create spell with both mana="10" and manapercent="50" in spells.xml
cast it
Actual behaviour
it will consume only 10 mana but not extra 50% of max mana
Expected behaviour
Code should not ignore manapercent if there is mana too. And calculate both mana and manapercent into the final cost. Spells would be able to cost 10 mana + 50% of max mp for example
Steps to reproduce
Actual behaviour
it will consume only 10 mana but not extra 50% of max mana
Expected behaviour
Code should not ignore manapercent if there is mana too. And calculate both mana and manapercent into the final cost. Spells would be able to cost 10 mana + 50% of max mp for example