Ignore:
Timestamp:
09/06/13 18:10:46 (9 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
33373930656663316162373432343637663066656164623363313565343963353934373936626233
Message:

ChargingEnemy spits acid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/protagonist.py

    r357 r361  
    88    COLLISION_TYPE_PLAYER, ZORDER_MID, WEREWOLF_SOAK_FACTOR,
    99    PROTAGONIST_HEALTH_MIN_LEVEL, PROTAGONIST_HEALTH_MAX_LEVEL,
    10     NON_GAME_OBJECT_COLLIDERS, BULLET_DAMAGE, CLAW_DAMAGE,
     10    NON_GAME_OBJECT_COLLIDERS, BULLET_DAMAGE, BULLET_SPEED, CLAW_DAMAGE,
    1111    CMD_TOGGLE_FORM, CMD_ATTACK, CMD_ACTION)
    1212from nagslang.events import FireEvent, ClawEvent
     
    298298        if not self.has_item('gun'):
    299299            return
    300         vec = vec_from_angle(self.angle, 1000)
     300        vec = vec_from_angle(self.angle, BULLET_SPEED)
    301301        FireEvent.post(
    302302            self.physicser.position, vec, BULLET_DAMAGE, COLLISION_TYPE_PLAYER)
Note: See TracChangeset for help on using the changeset viewer.