According to code:
Stun Chance is scaled based on mysticism skill and target's magic resist.
Try hitting somone with 0 magic resist.
It should be about 1 in 9 or something along those lines. Unless like me the RNG decides to mess with you on purpose whenever you try to test.