Ejemplo n.º 1
0
    public void UseAsset()
    {
        int incoming = targetReference.GetIncomingDamage();

        incoming -= 2;
        if (incoming < 0)
        {
            incoming = 0;
        }
        targetReference.SetIncomingDamage(incoming);
        ownerReference.LoseAsset(this);
        GameManager.SingleInstance.App.Controller.queueController.NextCallBack();
    }