コード例 #1
0
        public PowerLiftAction(BattleEntity user) : base(user)
        {
            Name = "Power Lift";

            MoveInfo = new MoveActionData(new CroppedTexture2D(AssetManager.Instance.LoadRawTexture2D($"{ContentGlobals.BattleGFX}.png"), new Rectangle(158, 987, 40, 37)),
                                          "Briefly increases your party's\nAttack and Defense power.", Enumerations.MoveResourceTypes.SSSP,
                                          300, Enumerations.CostDisplayTypes.Shown, Enumerations.MoveAffectionTypes.Self | Enumerations.MoveAffectionTypes.Ally, Enumerations.EntitySelectionType.All, false, null);

            SetMoveSequence(new PowerLiftSequence(this));
            actionCommand = new PowerLiftCommand(MoveSequence, ActionCommandTime);
        }
コード例 #2
0
        public PowerLift()
        {
            Name = "Power Lift";

            //NOTE: Commented out until we have a means to obtain Crystal Star Star Power (Audience)
            //SPType = StarPowerGlobals.StarPowerTypes.CrystalStar;

            SPCost   = 300;
            MoveInfo = new MoveActionData(null, "Briefly increases your party's\nAttack and Defense power.", Enumerations.MoveResourceTypes.SP,
                                          300, Enumerations.CostDisplayTypes.Shown, Enumerations.MoveAffectionTypes.Ally, TargetSelectionMenu.EntitySelectionType.All, false, null);

            SetMoveSequence(new PowerLiftSequence(this));
            actionCommand = new PowerLiftCommand(MoveSequence, ActionCommandTime);
        }