Not sure exactly what you want, but this is my interpretation (please tell me if correct):
single button
unmodified it will cast a damage spell if the target it harmful, do nothing if it is helpful
modified it will cast a heal if target is helpful, do nothing if harmful
Is that what you want?
Connect With Us