So, I'm wanting to change the way confusion-like states work in my game. I'm wanting to make it so that, when an actor/enemy afflicted with a confusion state uses a skill which targets either an ally or an enemy, there's an X% chance (determined by the state) for it to target the reverse (for example, a healing spell's target being switched to an enemy or a fireball being cast on your ally). I want this to be something that can be set so that there can be severity of confusion states (there can be weak mind control spells that make your enemies occasionally choose the wrong target, but later-level ones make it so they're only attacking other enemies).
Is there a plugin that does this? Would anyone like to make one?
Is there a plugin that does this? Would anyone like to make one?