Prevent dino from attacking

How would I go about preventing a dino from attacking me when I have a certain buff active?
I am making an assumption that i have to look at its behaviour tree?
Any help is appreciated!

look at the bug replant buff

Thank you kind sir for the help. :slight_smile: