Beispiel #1
0
        public void AddChampionToInventoryIfAlive(string championUid)
        {
            InventoryStorage champion = base.Inventory.Champion;

            if (champion.GetItemCapacity(championUid) != 0)
            {
                champion.ModifyItemAmount(championUid, 1 - champion.GetItemAmount(championUid));
            }
        }