def __init__(self, trigger, *args):
     ShipEffect.__init__(self, trigger, *args)
     self.moduleTypeID = trigger.moduleTypeID
     self.radius = 20000.0
     if trigger.graphicInfo is not None:
         self.realRadius = trigger.graphicInfo.range
     else:
         self.realRadius = self.fxSequencer.GetType(self.moduleTypeID).warpScrambleRange
Пример #2
0
 def __init__(self, trigger, *args):
     ShipEffect.__init__(self, trigger, *args)
     self.moduleTypeID = trigger.moduleTypeID
     self.radius = 20000.0
     if trigger.graphicInfo is not None:
         self.realRadius = trigger.graphicInfo.range
     else:
         self.realRadius = self.fxSequencer.GetType(
             self.moduleTypeID).warpScrambleRange
Пример #3
0
 def __init__(self, trigger, *args):
     ShipEffect.__init__(self, trigger, *args)
     self.moduleTypeID = trigger.moduleTypeID
     self.radius = 20000.0
     if trigger.graphicInfo is not None:
         self.realRadius = trigger.graphicInfo.range
     else:
         godmaStateManager = sm.GetService('godma').GetStateManager()
         self.realRadius = godmaStateManager.GetType(
             self.moduleTypeID).warpScrambleRange
Пример #4
0
 def __init__(self, trigger, *args):
     ShipEffect.__init__(self, trigger, *args)
     self.playerEffect = None
Пример #5
0
 def __init__(self, trigger, *args):
     ShipEffect.__init__(self, trigger, *args)
     self.playerEffect = None
     self.graphicID = None if args[0] is None else getattr(args[0], 'graphicID', None)
Пример #6
0
 def __init__(self, trigger, *args):
     ShipEffect.__init__(self, trigger, *args)
     self.playerEffect = None
     self.graphicID = None if args[0] is None else getattr(
         args[0], 'graphicID', None)