Queenly Majesty
Opposing Pokémon cannot use priority attacks.
Full effect
When an opposing Pokémon attempts to use a move that targets this Pokémon or an ally, and that move has priority, it will fail.
In game description
When the Pokémon uses Surf or Dive, it will come back with prey. When it takes damage, it will spit out the prey to attack.
Pokemon with Queenly Majesty
Using Queenly Majesty in Cobblemon
Abilities are passive and always active, so Queenly Majesty costs you nothing to run. If it is marked hidden on a species above, expect it to be harder to obtain: servers differ in whether hidden abilities come from breeding, an Ability Patch, or events.
See the Pokedex for which abilities each species can have, and IVs, EVs and breeding for how to actually pass one down.