Ejemplo n.º 1
0
        public TidalWave()
        {
            Name     = "Tidal Wave";
            MoveInfo = new MoveActionData(null, "A surge of water hits all enemies.", Enumerations.MoveResourceTypes.FP, 6,
                                          Enumerations.CostDisplayTypes.Shown, Enumerations.MoveAffectionTypes.Enemy, TargetSelectionMenu.EntitySelectionType.All,
                                          true, null);

            DamageInfo = new DamageData(0, Enumerations.Elements.Water, false, Enumerations.ContactTypes.None, null,
                                        Enumerations.DamageEffects.None);

            SetMoveSequence(new TidalWaveSequence(this));
            actionCommand = new TidalWaveCommand(MoveSequence);
        }
        public TidalWaveAction(BattleEntity user) : base(user)
        {
            Name     = "Tidal Wave";
            MoveInfo = new MoveActionData(new CroppedTexture2D(AssetManager.Instance.LoadRawTexture2D($"{ContentGlobals.BattleGFX}.png"), new Rectangle(874, 75, 22, 22)),
                                          "A surge of water hits all enemies.", Enumerations.MoveResourceTypes.FP, 6,
                                          Enumerations.CostDisplayTypes.Shown, Enumerations.MoveAffectionTypes.Other, Enumerations.EntitySelectionType.All,
                                          true, null, User.GetOpposingEntityType());

            DamageInfo = new DamageData(0, Enumerations.Elements.Water, false, Enumerations.ContactTypes.None, Enumerations.ContactProperties.Ranged, null,
                                        Enumerations.DamageEffects.None);

            SetMoveSequence(new TidalWaveSequence(this));
            actionCommand = new TidalWaveCommand(MoveSequence);
        }