protected override void Hit(Ammo ammo) { if (isInvisible) { return; } if (ammo.campFlag != campFlag) { health--; if (health <= 0) { ammo.Boom(); Die(); } else { ammo.BoomSlightly(); stateMachine.ChangeState(health - 1); } } }
protected override void Hit(Ammo ammo) { ammo.Boom(); GameSystem.InnerSystem.GameMessageManager.SendGameMessage(GameSystem.InnerSystem.GameMessage.Lose); }