This is just a crazy idea, but what the hey. I'm interested in creating a game where players try to heal the enemy rather than killing them. So I'm writing this to see what changes I would need to make to pull it off.
Let's start with the attack command. How much can it safely be edited? Is there a way to replace it altogether (scripting, probably)?
You can do a lot with the attack command. Just edit skill one to do what you want, as attack always defaults to skill 1 in the database (unless you add scripts that is). So you could do your idea by changing skill one to HP Restore, and leave the target as one enemy.
Just be aware that this will make attack always heal, so if this is meant to be a one time battle, then it will get more complicated.
You can really do anything to it, its the space the main skill uses in the database (space 1). You could have an insta kill move there if you want, it would just be assigned as the default attack skill.
And here I'm wondering what sort of game would make a "heal thy enemy" approach to combat appropriate.
And then it hits me: A doctor in a pandemic-type scenario. Make the #1 Skill (Attack) a Diagnosis skill, and most of the remaining skills assorted forms of State Removals, with a metric buttload of different States the patients could be suffering from.
Not bad, Warpmind! In fact, I was just thinking along the lines of plague...
To be honest, this could also be used to some kind of exorcism mechanism. Pope or whatever convert the evil minds to good for example. However it wouldn't work to the lions for example as they have no evil intentions as they see you as a food and has no evil intend.