The game I'm working on has a partnership theme, with pairs divided into magical and physical roles.
One of the characters has an ability to heal their partner. This works only on their partner and can't be used to heal themselves or anyone else.
Currently I'm implementing this by assigning the healing power a special element which everyone other than the partner is 100% resistant to, but I'm hoping for a more elegant solution.
Specifically, I'd like something that prevents the power from being used on a target at all rather than allowing you to target someone and heal them for 0 damage. Ideally, it would generate a message that [x] doesn't work on [Y].
Or, even better, if the power simply doesn't give the option to target anyone else (preventing the user from wasting a turn by accident), much in the same way a self-only power doesn't give the option to target anyone but the user.
Any idea how I can do this?
One of the characters has an ability to heal their partner. This works only on their partner and can't be used to heal themselves or anyone else.
Currently I'm implementing this by assigning the healing power a special element which everyone other than the partner is 100% resistant to, but I'm hoping for a more elegant solution.
Specifically, I'd like something that prevents the power from being used on a target at all rather than allowing you to target someone and heal them for 0 damage. Ideally, it would generate a message that [x] doesn't work on [Y].
Or, even better, if the power simply doesn't give the option to target anyone else (preventing the user from wasting a turn by accident), much in the same way a self-only power doesn't give the option to target anyone but the user.
Any idea how I can do this?