Beispiel #1
0
        private void Start()
        {
            // Starts combat! - Temp
            // StartRound();
            container = GameObject.Find("_ExpContainer").GetComponent <ExpContainer>();
            winCanvas = GameObject.Find("WinCanvas").GetComponent <OverallWinCanvasScript>();

            GameObject.Find("EnemyData").GetComponent <EnemyUIHolder>().CreateUI();
        }
Beispiel #2
0
        public static int GetChestUpgradeCostInCards(this ExpContainer c)
        {
            switch (c.Level)
            {
            case ExpContainerLevel.Disabled:
            case ExpContainerLevel.Level1:
            case ExpContainerLevel.Level2:
                return(1);

            default:
            case ExpContainerLevel.Level3:
                return(-1);    //can't upgrade
            }
        }
Beispiel #3
0
        public static int GetMaxExpTransferToCard(this ExpContainer c)
        {
            switch (c.Level)
            {
            case ExpContainerLevel.Level1:
                return(30);

            case ExpContainerLevel.Level2:
                return(80);

            case ExpContainerLevel.Level3:
                return(200);

            default:
            case ExpContainerLevel.Disabled:
                return(0);
            }
        }
Beispiel #4
0
        public static int GetTransferCTCost(this ExpContainer c)
        {
            switch (c.Level)
            {
            case ExpContainerLevel.Level1:
                return(8);

            case ExpContainerLevel.Level2:
                return(15);

            case ExpContainerLevel.Level3:
                return(10);

            default:
            case ExpContainerLevel.Disabled:
                return(100);
            }
        }
Beispiel #5
0
        public static int GetMaxExpTransferToChest(this ExpContainer c)
        {
            switch (c.Level)
            {
            case ExpContainerLevel.Level1:
                return(50);

            case ExpContainerLevel.Level2:
                return(100);

            case ExpContainerLevel.Level3:
                return(-1);    //unlimited

            default:
            case ExpContainerLevel.Disabled:
                return(0);
            }
        }