示例#1
0
    public void Damage()
    {
        if (imunityTimer > 0)
        {
            return;
        }
        imunityTimer = imunity;

        hp--;
        if (hp <= 0)
        {
            Kill();
        }

        GUILife.Damage();
    }