Ignore:
Timestamp:
Sep 6, 2013, 6:25:06 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

Acid attacks shoot things that look like acid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/enemies.py

    r361 r363  
    221221        if self.lifetime - self._last_fired >= self.reload_time:
    222222            FireEvent.post(pos, vec_with_length((dx, dy), ACID_SPEED),
    223                            ACID_DAMAGE, COLLISION_TYPE_ENEMY)
     223                           ACID_DAMAGE, 'acid', COLLISION_TYPE_ENEMY)
    224224            self._last_fired = self.lifetime
    225225        super(ChargingAlien, self).update(dt)
Note: See TracChangeset for help on using the changeset viewer.