Are there any plugins, tricks, or methods that allow an attacker's stats to be considered in a state formula?
For example, is it possible to create a Bleeding state that deals 2x a.atk - b.def each turn?
For solution, it doesn't matter whether it dynamically updates each turn. Its fine if it only uses the stats as they were at the moment of application.
Visu's skills and states core should be able to handle that. I don't know if they got an "Extended DoT" addition like yanfly did, but you don't really need it anyway. You can simply have the script in your state notetag.
That seems like it has all sorts of unexpected edge cases to consider, though I too would prefer a similar type of system. For example… what if two different battlers apply bleed to the same target at the same time? Whose attack parameter is used for the formula? Does it stack, and use both attack parameters? Does it use the largest? The most recent?
Would also be good to know if there are plugins other than Yanfly / VisuStella that implement this kind of mechanic, since otherwise I'll probably need to code it myself.
I was aware of Turan's plugin… not really a fan of that approach though, to be honest. I don't like writing code in my note boxes.
If you want it to stack, I think a concept of "instancing" a state would be good to have, so each bleed is technically a unique state. There are plugins that do that for items, not sure if there are any that do it for states.
If you prefer it not to stack, taking a snapshot and storing it in a reasonable place is probably the logical thing to do if you prefer the first application to take priority (or something more complicated, like taking the largest of the two). Sounds like you don't need to do anything special if you prefer the last application to take priority, though taking a snapshot in that case would also be perfectly fine (and might make more sense too – why would bleed suddenly start dealing more damage if the attacker gets a buff after the state was applied?).