Exemplo n.º 1
0
        public MiniEgg()
        {
            Name     = "Mini-Egg";
            MoveInfo = new MoveActionData(null, "Throws Yoshi eggs at all enemies and shrinks them.", Enumerations.MoveResourceTypes.FP,
                                          3, Enumerations.CostDisplayTypes.Shown, Enumerations.MoveAffectionTypes.Enemy, TargetSelectionMenu.EntitySelectionType.All,
                                          false, null);
            DamageInfo = new DamageData(1, Enumerations.Elements.Normal, false, Enumerations.ContactTypes.None,
                                        new StatusChanceHolder[] { new StatusChanceHolder(100d, new TinyStatus(3)) }, Enumerations.DamageEffects.None);

            SetMoveSequence(new MiniEggSequence(this));
            actionCommand = new TimedLightCommand(MoveSequence, 4000d, 3, 500d, 1d, TimedLightCommand.LightDistributions.LastLightAtEnd);
        }
Exemplo n.º 2
0
        public MiniEggAction(BattleEntity user) : base(user)
        {
            Name     = "Mini-Egg";
            MoveInfo = new MoveActionData(new CroppedTexture2D(AssetManager.Instance.LoadRawTexture2D($"{ContentGlobals.BattleGFX}.png"), new Rectangle(874, 46, 22, 22)),
                                          "Throws Yoshi eggs at all enemies and shrinks them.", Enumerations.MoveResourceTypes.FP,
                                          3, Enumerations.CostDisplayTypes.Shown, Enumerations.MoveAffectionTypes.Other, Enumerations.EntitySelectionType.All,
                                          false, null, User.GetOpposingEntityType());
            DamageInfo = new DamageData(1, Enumerations.Elements.Normal, false, Enumerations.ContactTypes.None, Enumerations.ContactProperties.Ranged,
                                        new StatusChanceHolder[] { new StatusChanceHolder(100d, new TinyStatus(3)) }, Enumerations.DamageEffects.None);

            SetMoveSequence(new MiniEggSequence(this));
            actionCommand = new TimedLightCommand(MoveSequence, 4000d, 3, 500d, 1d, TimedLightCommand.LightDistributions.LastLightAtEnd);
        }