Ahoy Legacy.
Haha, new here' huh, matey?
I dunno about normal attacks, maybe you can modify that through the scripts.
But by using skills, you can damage your allies.
Common Events is possible to make those too.
3) Certain party damage, maybe using elements or attributes.
Savvy ?