Well, if a Pokemon uses an attacking move, it is a 30% chance.
Poison, Paralysis, and Sleep are random.
( Btw, don't use Effect Spore on Breloom. Only special is going after it, being Fire Blast / Psyshock. Technician or Poison Heal are both much more situational. )