If the target creature's power is no longer less than the attacking creature's power as the ability resolves, mentor doesn't add a +1/+1 counter. For example, if two 3/3 creatures with mentor attack and both mentor triggers target the same 2/2 creature, the first to resolve puts a +1/+1 counter on it and the second does nothing.
Tajic, Legion's Edge
If Tajic and other creatures you control would be dealt lethal noncombat damage at the same time, the damage that would be dealt to your other creatures is prevented.
Mentor compares the power of the creature with mentor with that of the target creature at two different times: once as the triggered ability is put onto the stack, and once as the triggered ability resolves. If you wish to raise a creature's power so its mentor ability can target a bigger creature, the last chance you have to do so is during the beginning of combat step.
Magic: The Gathering · ™ & © Wizards of the Coast · Illus. Anthony Palumbo
Card data via Scryfall. Rarix is fan-made; not endorsed by the rights holders.
