Possibly: edit the command used to maintain the buff, and prepend a "try; ".
I don't know how to do this, could you provide simple instructions if at all possible? Thanks in advance!
Isn't "start recasting" for mana burning? Those are two different mechanisms doing very different things. Mana burning is for spending excess mana on prolonging the effects you already have, moods are for making sure you don't run out of specified buffs.
I don't quite get what you're saying, here. As far as I know, the mana burning drop-down menus under the HP/MP Usage tab are what control the buffs specified in the mood setup tab. If I have 100 max MP, and I have one buff that takes 1 MP to cast in my mood, and I specify mana burning to start recasting at 85%, and cast down to 50%; if I have all that, when I auto-adventure with Mafia, it won't cast the buff until I regenerate to at least 85 MP, and then it will cast the buff 35 times. It will continue to repeat this behavior until I have (by default) 1,000 turns of the buff queued, and then it won't recast the buff until I run below 1,000 turns. That's just what I've observed through experimentation with the program, I don't know if it's supposed to work some other way, or if there's some underlying principle behind the mechanism that I haven't divined.
To elaborate more on what's currently happening, and what I'd like to have happening: early on in my runs, now that I've got a lot of buffs permed, it's easier to leave the same mood active, and not worry about manually introducing buffs as I adventure. So, let's say I have a mood with 10 different buffs. Since it's early on in the run, my familiar is low-weight, and doesn't regenerate as much MP as it does on after it's bulked up a bit. So I might not actually be regenerating enough MP to keep all the buffs up at once (but I don't really care, because it's still early in the run and none of them are essential for survival). When a buff completely expires, Mafia will prioritize getting it back, even if it means casting it will put my MP below the specified "recast buffs down to %" value, which can be a pain when I'm a spellcasting class using a spell macro, and I suddenly don't have enough MP for it.
So if at all possible, I'd like for Mafia to:
1. Not recast buffs in a mood, even if they're completely expired, until I hit the "recast at % threshold"
2. Keep automating even if a buff in a mood is completely expired
If neither of those things are possible or easy to implement, then that's fine, I'll just have to create more mood presets and change between them more often, which is annoying, but not the end of the world. I'm mainly posting here to find out whether it is possible at all.
If you want to have mood-like mana burning, you should probably write your own script that handles the logic entirely as you like, and put it in your mood under unconditional trigger.
I don't have the slightest idea how to create scripts, sorry. :/