Sneak attack depends on the thief's ability to move silently and this is related to dexterity and intelligence/wisdom. If your thief has high scores in these attributes, then the sneak attack will succeed. the damage done goes up with the level of the thief, usually every 2-3 levels.
