Exemple #1
0
        public void ReasonAction()
        {
            Controller.DamageMonster(Reason);

            UserChoiceMade = true;
            Choice         = UserActionChoice.Reason;
        }
Exemple #2
0
        public void CouponAction()
        {
            Controller.DamageMonster(OfferCoupon);
            OfferCoupon *= ReductionCounter[4] < 5 ? ReductionScaler : 1;
            ReductionCounter[4]++;

            UserChoiceMade = true;
            Choice         = UserActionChoice.Coupon;
        }
Exemple #3
0
        public void FlatterAction()
        {
            Controller.DamageMonster(Flatter);
            Flatter *= ReductionCounter[3] < 5 ? ReductionScaler : 1;
            ReductionCounter[3]++;

            UserChoiceMade = true;
            Choice         = UserActionChoice.Flatter;
        }
Exemple #4
0
        public void DrinkAction()
        {
            Controller.DamageMonster(OfferDrink);
            OfferDrink *= ReductionCounter[1] < 5 ? ReductionScaler : 1;
            ReductionCounter[1]++;

            UserChoiceMade = true;
            Choice         = UserActionChoice.Drink;
        }
Exemple #5
0
        public void FoodAction()
        {
            Controller.DamageMonster(FreeFood);
            FreeFood *= ReductionCounter[0] < 5 ? ReductionScaler : 1;
            ReductionCounter[0]++;

            UserChoiceMade = true;
            Choice         = UserActionChoice.Food;
        }
Exemple #6
0
        public void BegAction()
        {
            Controller.DamageMonster(Beg);
            ReductionCounter[5]++;

            Controller.SetBegActive(false, false);

            UserChoiceMade = true;
            Choice         = UserActionChoice.Beg;
        }
Exemple #7
0
        public void HealAction()
        {
            if (ReductionCounter[6] < 3)
            {
                Controller.HealPlayer(Heal);
                ReductionCounter[6]++;

                HealText.text = "(" + (4 - ReductionCounter[6]).ToString() + ")";
            }
            else if (ReductionCounter[6] == 3)
            {
                Controller.HealPlayer(Heal);
                ReductionCounter[6]++;

                HealText.text = "(" + (4 - ReductionCounter[6]).ToString() + ")";

                Controller.SetHealActive(false);
            }

            UserChoiceMade = true;
            Choice         = UserActionChoice.Heal;
        }