First of all, rewrite your code with correct indent.
This is very significant in python and your code is very strangely indented (i'm surprised this works...)
class effectIllusion shouldn't be indented,
nor def updateSimObjects(self):
if not mount0: and following is inconsistent...
darkbow commented: i think i wouldn't post here if indentation is the issue code blocks mess that up +0