def __init__(self, properties, attachProperties, effectManager): EffectBase.__init__(self, properties, attachProperties, effectManager) self.__loft = None if IS_EDITOR: return else: loftTexture = self.properties['loftTexture'] loftHeight = float(self.properties['loftHeight']) loftAge = float(self.properties['loftAge']) loftGrownStage = int(self.properties['loftGrownStage']) self.__loft = BigWorld.Loft(loftTexture) self.__loft.maxAge = loftAge self.__loft.height = loftHeight self.__loft.colour = (255, 255, 255, 25) self.__loft.grownStage = loftGrownStage self.attach() return