Added IsAlliedWith check to Heal

#3597