ANSWER:

If this was for fun, this is a major sin and one’s prayers of 40 days would not be accepted. 

His fasting and other forms of worship are not impacted. 

QUESTION: Does consulting a fortune-teller for fun have any impact on the fasts of a person? Are they also not accepted for 40 days like the prayers?