Any way to make a trait for a character that can't be healed only in battle?

HI, I am trying to make a character (let's call A) that can't be healed by any healing item or magic in battle.
If a character uses any healing method on the target(A), a 0 should pop up to indicate that the healing did not work.
On the field, (A) should be able to heal through items or magic. How can I do this?

I also made a trait for (A) where it regenerates HP at the end of each turn, is there a way to implement both of these traits to work only in battle?
give the healing a specific element and set the actor's elemental rate for that to zero - that should disable both types of healing everywhere.

then change the items and the skills for healing on map to go through a common event to determine if they are to heal or not before using change HP

for more complex conditions you would have to use plugins with eval-type notetags for conditions, but I don't use MZ and don't know which are available for that.

Original thread: https://forums.rpgmakerweb.com/threads/any-way-to-make-a-trait-for-a-character-that-cant-be-healed-only-in-battle.170391/