Ejemplo n.º 1
0
 def __init__(self, host, owner):
     dur = 1
     Effect.__init__(self, dur, host, owner)
     actors = owner.game.get_all_srd_actors(owner.pos())
     for act in actors:
         Effect.__init__(self, dur, act, owner)
     weaponinfotext = 'Splatters the enemy'
 def __init__(self, host, owner):
     dur = 1
     Effect.__init__(self, dur, host, owner)
     actors = owner.game.get_all_srd_actors(owner.pos())
     for act in actors:
         Effect.__init__(self, dur, act, owner)
     weaponinfotext = 'Splatters the enemy'
Ejemplo n.º 3
0
    def __init__(self, actor):

        self.actor = actor
        point = self.actor.coord.get

        Effect.__init__(self, point, None)
        self.drawable = False
Ejemplo n.º 4
0
    def __init__(self, effect_tracker, map, coord, color):

        Effect.__init__(self, effect_tracker)
        self.set_map(map)
        self.set_coord(coord)
        self.set_color(color)
        self.set_light(LightComponent(self, map, color, 5))

        self.set_image()

        self.tick = 0
        self.frame = '1'
        self.image_component.frame = self.frame
Ejemplo n.º 5
0
    def __init__(self, effect_tracker, map, origin, target, color):

        self.axis = 'x'
        self.mod = 1

        self.target = target
        self.base_color = color

        self.tick = 0

        Effect.__init__(self, effect_tracker)
        self.set_map(map)
        self.set_coord(self.get_initial_coord(origin, target))
        self.set_color(color)
        self.set_image()
        self.set_light(LightComponent(self, map, color, 3))

        self.blocks = False
Ejemplo n.º 6
0
 def __init__(self, drawing, nextModeCallback):
     Effect.__init__(self, drawing, nextModeCallback)
     self.rgbMaxValue = 255
     self.resetState()
Ejemplo n.º 7
0
 def __init__(self):
     Effect.__init__(self)
     self.duration = 5
Ejemplo n.º 8
0
 def __init__(self, drawing, nextModeCallback):
     Effect.__init__(self, drawing, nextModeCallback)
     self.colorSeconds = [0, 0, 50]
     self.colorMinutes = [50, 0, 0]
     self.colorHours = [0, 255, 0]
Ejemplo n.º 9
0
	def __init__(self, decay=0.5, rate=1):
		Effect.__init__(self,"Echo Filter")
		self.decay = decay
		self.rate = rate
		self.fs = 44100
		self.__class__.__bases__[0].parameters = [decay,rate]
Ejemplo n.º 10
0
 def __init__(self, host, owner):
     dur = 1
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Burns the enemy'
Ejemplo n.º 11
0
 def __init__(self, host, owner):
     dur = d(4)
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Blinds the enemy'
Ejemplo n.º 12
0
 def __init__(self, host, owner):
     dur = d(3)
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Stuns the enemy'
Ejemplo n.º 13
0
 def __init__(self, host, owner):
     dur = d(10)
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Poisons the enemy'
Ejemplo n.º 14
0
 def __init__(self, host, owner):
     dur = d(25)
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Poisons the enemy'
Ejemplo n.º 15
0
 def __init__(self, host, owner):
     dur = d(10)
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Makes the enemy bleed'
Ejemplo n.º 16
0
 def __init__(self, cube):
   Effect.__init__(self, cube)
   self.snake = [ (0, 0, i) for i in np.arange(0, cube.size) ]
 def __init__(self, host, owner):
     dur = 10
     Effect.__init__(self, dur, host, owner)
Ejemplo n.º 18
0
 def __init__(self, host, owner):
     dur = 1
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'You should not read this'
Ejemplo n.º 19
0
 def __init__(self, host, owner):
     dur = 1
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Strokes the enemy'
Ejemplo n.º 20
0
 def __init__(self, host, owner):
     dur = 1
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'You should not read this'
Ejemplo n.º 21
0
 def __init__(self, host, owner):
     dur = d(10)
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Stuns the enemy'
Ejemplo n.º 22
0
 def __init__(self, drawing, nextModeCallback):
     Effect.__init__(self, drawing, nextModeCallback)
Ejemplo n.º 23
0
 def __init__(self, host, owner):
     dur = d(4)
     Effect.__init__(self, dur, host, owner)
     weaponinfotext = 'Blinds the enemy'
Ejemplo n.º 24
0
 def __init__(self, host, owner):
     dur = 10
     Effect.__init__(self, dur, host, owner)