public override void OnRoundStart()
        {
            base.OnRoundStart();
            if (this._effect)
            {
                return;
            }
            this._effect = true;
            Battle.CreatureEffect.CreatureEffect original = Resources.Load <Battle.CreatureEffect.CreatureEffect>("Prefabs/Battle/CreatureEffect/New_IllusionCardFX/0_K/FX_IllusionCard_0_K_Blizzard");
            if (!((UnityEngine.Object)original != (UnityEngine.Object)null))
            {
                return;
            }
            Battle.CreatureEffect.CreatureEffect creatureEffect = UnityEngine.Object.Instantiate <Battle.CreatureEffect.CreatureEffect>(original, SingletonBehavior <BattleSceneRoot> .Instance.transform);
            if (!((UnityEngine.Object)creatureEffect?.gameObject.GetComponent <AutoDestruct>() == (UnityEngine.Object)null))
            {
                return;
            }
            AutoDestruct autoDestruct = creatureEffect?.gameObject.AddComponent <AutoDestruct>();

            if (!((UnityEngine.Object)autoDestruct != (UnityEngine.Object)null))
            {
                return;
            }
            autoDestruct.time = 3f;
            autoDestruct.DestroyWhenDisable();
            SoundEffectPlayer.PlaySound("Creature/SnowQueen_StrongAtk2");
        }
        public override void OnBreakState()
        {
            int num = (int)((double)this._owner.breakDetail.GetDefaultBreakGauge() * 0.35);

            if (num >= 20)
            {
                num = 20;
            }
            foreach (BattleUnitModel alive in BattleObjectManager.instance.GetAliveList())
            {
                if (alive == this._owner || alive.IsBreakLifeZero())
                {
                    break;
                }
                alive.TakeBreakDamage(num);
                alive.view.BreakDamaged(num, BehaviourDetail.Penetrate, this._owner, AtkResist.Normal);
                Battle.CreatureEffect.CreatureEffect creatureEffect = SingletonBehavior <DiceEffectManager> .Instance.CreateCreatureEffect("4/GalaxyBoy_Damaged", 1f, alive.view, (BattleUnitView)null, 2f);

                creatureEffect.SetLayer("Character");
                this._damagedEffects.Add(creatureEffect);
                creatureEffect.gameObject.SetActive(false);
                creatureEffect.SetLayer("Effect");
            }
            this._effect = this.MakeEffect("4/GalaxyBoy_Dust", destroyTime: 3f);
            this._effect?.gameObject.SetActive(false);
            this._effect?.AttachEffectLayer();
            SoundEffectPlayer.PlaySound("Creature/GalaxyBoy_Cry");
        }
            public override void OnRoundStart()
            {
                base.OnRoundStart();
                this._aura = SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("8_B/FX_IllusionCard_8_B_Punising", 1f, this._owner.view, this._owner.view)?.gameObject;

                SoundEffectPlayer.PlaySound("Creature/SmallBird_StrongAtk");
            }
        public override bool BeforeTakeDamage(BattleUnitModel attacker, int dmg)
        {
            if (this._activated || (double)this._owner.hp > (double)dmg)
            {
                return(false);
            }
            this._activated = true;
            this._owner.RecoverHP((int)(double)this._owner.MaxHp);
            this._owner.breakDetail.RecoverBreakLife(this._owner.MaxBreakLife);
            this._owner.breakDetail.nextTurnBreak = false;
            this._owner.breakDetail.RecoverBreak(this._owner.breakDetail.GetDefaultBreakGauge());
            this._owner.cardSlotDetail.LosePlayPoint(this._owner.cardSlotDetail.GetMaxPlayPoint());
            if (Singleton <StageController> .Instance.IsLogState())
            {
                this._owner.battleCardResultLog?.SetNewCreatureAbilityEffect("7_C/FX_IllusionCard_7_C_Particle", 3f);
                this._owner.battleCardResultLog?.SetCreatureEffectSound("CreatureOzma_FarAtk");
            }
            else
            {
                SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("7_C/FX_IllusionCard_7_C_Particle", 1f, this._owner.view, this._owner.view, 3f);

                SoundEffectPlayer.PlaySound("CreatureOzma_FarAtk");
            }
            return(true);
        }
        public override void BeforeGiveDamage(BattleDiceBehavior behavior)
        {
            base.BeforeGiveDamage(behavior);
            if (behavior == null)
            {
                return;
            }
            int dmg = damage;

            this._owner.LoseHp(dmg);
            this._owner.view.Damaged(dmg, BehaviourDetail.None, dmg, this._owner);
            this._owner.battleCardResultLog?.SetNewCreatureAbilityEffect("9_H/FX_IllusionCard_9_H_Martyr", 3f);
            SoundEffectPlayer.PlaySound("Creature/BlueStar_In");
            double ratio     = 1 - (this._owner.hp / this._owner.MaxHp);
            double breakrate = ratio * 10 / 9;

            if (breakrate >= 1)
            {
                breakrate = 1;
            }
            behavior.ApplyDiceStatBonus(new DiceStatBonus()
            {
                breakRate = (int)(breakrate * 100)
            });
            behavior.card.target.battleCardResultLog?.SetNewCreatureAbilityEffect("9_H/FX_IllusionCard_9_H_MartyrExplo", 3f);
        }
        public override void OnRoundStart()
        {
            base.OnRoundStart();
            if (!this.effect)
            {
                return;
            }
            this.effect  = false;
            this.trigger = true;
            this._owner.SetHp(this.savedHp);
            this._owner.breakDetail.breakGauge = this.savedBp;
            this._owner.cardSlotDetail.RecoverPlayPoint(this._owner.cardSlotDetail.GetMaxPlayPoint());
            SingletonBehavior <BattleManagerUI> .Instance.ui_unitListInfoSummary.UpdateCharacterProfile(this._owner, this._owner.faction, this._owner.hp, this._owner.breakDetail.breakGauge);

            Battle.CreatureEffect.CreatureEffect original = Resources.Load <Battle.CreatureEffect.CreatureEffect>("Prefabs/Battle/CreatureEffect/New_IllusionCardFX/4_N/FX_IllusionCard_4_N_Orchestra_Start");
            if (!((UnityEngine.Object)original != (UnityEngine.Object)null))
            {
                return;
            }
            Battle.CreatureEffect.CreatureEffect creatureEffect = UnityEngine.Object.Instantiate <Battle.CreatureEffect.CreatureEffect>(original, SingletonBehavior <BattleSceneRoot> .Instance.transform);
            if (!((UnityEngine.Object)creatureEffect?.gameObject.GetComponent <AutoDestruct>() == (UnityEngine.Object)null))
            {
                return;
            }
            AutoDestruct autoDestruct = creatureEffect?.gameObject.AddComponent <AutoDestruct>();

            if (!((UnityEngine.Object)autoDestruct != (UnityEngine.Object)null))
            {
                return;
            }
            autoDestruct.time = 3f;
            autoDestruct.DestroyWhenDisable();
            SoundEffectPlayer.PlaySound("Creature/Sym_movment_0_clap");
        }
 public override void OnRoundStart()
 {
     base.OnRoundStart();
     if (!this.trigger)
     {
         return;
     }
     this.trigger = false;
     Battle.CreatureEffect.CreatureEffect original = Resources.Load <Battle.CreatureEffect.CreatureEffect>("Prefabs/Battle/CreatureEffect/New_IllusionCardFX/4_N/FX_IllusionCard_4_N_Orchestra_Light");
     if ((UnityEngine.Object)original != (UnityEngine.Object)null)
     {
         Battle.CreatureEffect.CreatureEffect creatureEffect = UnityEngine.Object.Instantiate <Battle.CreatureEffect.CreatureEffect>(original, SingletonBehavior <BattleSceneRoot> .Instance.transform);
         if ((UnityEngine.Object)creatureEffect?.gameObject.GetComponent <AutoDestruct>() == (UnityEngine.Object)null)
         {
             AutoDestruct autoDestruct = creatureEffect?.gameObject.AddComponent <AutoDestruct>();
             if ((UnityEngine.Object)autoDestruct != (UnityEngine.Object)null)
             {
                 autoDestruct.time = 3f;
                 autoDestruct.DestroyWhenDisable();
             }
         }
     }
     foreach (BattleUnitModel alive in BattleObjectManager.instance.GetAliveList(this._owner.faction == Faction.Player ? Faction.Enemy : Faction.Player))
     {
         alive.cardSlotDetail.LosePlayPoint(Reduce);
     }
     SoundEffectPlayer.PlaySound("Creature/Sym_movment_5_finale");
 }
        public override void OnRoundStart()
        {
            if (!(this._owner.bufListDetail.GetActivatedBufList().Exists(x => x is Eager)))
            {
                this._owner.bufListDetail.AddBuf(new Eager());
                SoundEffectPlayer.PlaySound("Creature/RedShoes_On");
                CreatureEffect_FaceAttacher effectFaceAttacher = this.MakeFaceEffect(this._owner.view);
                effectFaceAttacher.SetLayer("Character");
                if (!(bool)(UnityEngine.Object)effectFaceAttacher)
                {
                    return;
                }
                this._faceEffect.Add(effectFaceAttacher);
            }
            List <BattleUnitModel> alive = BattleObjectManager.instance.GetAliveList(this._owner.faction == Faction.Player ? Faction.Enemy : Faction.Player);

            foreach (BattleUnitModel member in alive)
            {
                if (member.bufListDetail.GetActivatedBufList().Exists(x => x is TheChosen))
                {
                    return;
                }
            }
            RandomUtil.SelectOne <BattleUnitModel>(alive).bufListDetail.AddBuf(new TheChosen());
        }
Esempio n. 9
0
        public override void OnRoundStart()
        {
            base.OnRoundStart();
            if (this._owner.bufListDetail.GetActivatedBufList().Find((Predicate <BattleUnitBuf>)(x => x is BattleUnitBuf_Emotion_BlueStar_SoundBuf)) == null)
            {
                return;
            }
            Battle.CreatureEffect.CreatureEffect original = Resources.Load <Battle.CreatureEffect.CreatureEffect>("Prefabs/Battle/CreatureEffect/New_IllusionCardFX/9_H/FX_IllusionCard_9_H_Voice");
            if (!((UnityEngine.Object)original != (UnityEngine.Object)null))
            {
                return;
            }
            Battle.CreatureEffect.CreatureEffect creatureEffect = UnityEngine.Object.Instantiate <Battle.CreatureEffect.CreatureEffect>(original, SingletonBehavior <BattleSceneRoot> .Instance.transform);
            if (!((UnityEngine.Object)creatureEffect?.gameObject.GetComponent <AutoDestruct>() == (UnityEngine.Object)null))
            {
                return;
            }
            AutoDestruct autoDestruct = creatureEffect?.gameObject.AddComponent <AutoDestruct>();

            if (!((UnityEngine.Object)autoDestruct != (UnityEngine.Object)null))
            {
                return;
            }
            autoDestruct.time = 5f;
            autoDestruct.DestroyWhenDisable();
            SoundEffectPlayer.PlaySound("Creature/BlueStar_Atk");
            SingletonBehavior <BattleSoundManager> .Instance.EndBgm();

            if (!((UnityEngine.Object) this._loop == (UnityEngine.Object)null))
            {
                return;
            }
            this._loop = SingletonBehavior <SoundEffectManager> .Instance.PlayClip("Creature/BlueStar_Bgm", true, parent : SingletonBehavior <BattleSceneRoot> .Instance.currentMapObject.transform);
        }
        public override void OnRoundStart()
        {
            if (Ratio < 0.5)
            {
                return;
            }
            int num = (int)((double)this._owner.breakDetail.breakGauge * 0.25);

            this._owner.TakeBreakDamage(num);
            this._owner.view.BreakDamaged(num, BehaviourDetail.Penetrate, this._owner, AtkResist.Normal);
            foreach (BattleUnitModel unit in BattleObjectManager.instance.GetAliveList(this._owner.faction == Faction.Player? Faction.Player : Faction.Enemy).FindAll((Predicate <BattleUnitModel>)(x => x != this._owner)))
            {
                unit.breakDetail.RecoverBreak(num);
            }
            if (Singleton <StageController> .Instance.IsLogState())
            {
                this._owner.battleCardResultLog?.SetNewCreatureAbilityEffect("4_N/FX_IllusionCard_4_N_FlowerPiece", 2f);
                this._owner.battleCardResultLog?.SetCreatureEffectSound("Creature/Ali_FarAtk");
            }
            else
            {
                SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("4_N/FX_IllusionCard_4_N_FlowerPiece", 1f, this._owner.view, this._owner.view, 2f);

                SoundEffectPlayer.PlaySound("Creature/Ali_FarAtk");
            }
        }
Esempio n. 11
0
        public override void OnRoundStart()
        {
            base.OnRoundStartOnce();
            if (this._owner.faction != Faction.Enemy)
            {
                return;
            }
            if (round != 4)
            {
                round += 1;
            }
            if (round == 4)
            {
                if (this._owner.cardSlotDetail.PlayPoint >= 4)
                {
                    this._owner.cardSlotDetail.SpendCost(4);
                    foreach (BattleDiceCardModel battleDiceCardModel in this._owner.allyCardDetail.GetHand())
                    {
                        battleDiceCardModel.AddBuf(new DiceCardSelfAbility_oz_control.BattleDiceCardBuf_costZero1Round());
                    }
                    round = 0;
                    SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("7_C/FX_IllusionCard_7_C_Magic", 1f, _owner.view, _owner.view, 3f);

                    SoundEffectPlayer.PlaySound("Creature/Oz_CardMagic");
                }
            }
        }
            public override void Init(BattleUnitModel owner)
            {
                base.Init(owner);
                this.aura = SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("5_T/FX_IllusionCard_5_T_Rage", 1f, owner.view, owner.view)?.gameObject;

                SoundEffectPlayer.PlaySound("Creature/Angry_Meet");
            }
Esempio n. 13
0
            public override void Init(BattleUnitModel owner)
            {
                base.Init(owner);
                this._aura = SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("1_M/FX_IllusionCard_1_M_Vine", 1f, owner.view, owner.view);

                SoundEffectPlayer.PlaySound("Creature/SnowWhite_StongAtk_Ready");
            }
Esempio n. 14
0
 public override void OnRoundStartAfter()
 {
     base.OnRoundStartAfter();
     if (phase == PhilipPhase.Hot)
     {
         SoundEffectPlayer.PlaySound("Battle/Philip_FilterOn");
     }
 }
Esempio n. 15
0
            public override void Init(BattleUnitModel owner)
            {
                base.Init(owner);
                this.stack = 0;
                owner.bufListDetail.RemoveBufAll(BufPositiveType.Negative);
                this.aura = SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("5_T/FX_IllusionCard_5_T_MagicGirl", 1f, owner.view, owner.view)?.gameObject;

                SoundEffectPlayer.PlaySound("Creature/Nihil_Filter");
            }
        public override void OnStartBattle()
        {
            SingletonBehavior <DiceEffectManager> .Instance.CreateBehaviourEffect("WhiteNight_Blessing", 1f, card.target.view, card.target.view);

            SoundEffectPlayer.PlaySound("Creature/WhiteNight_Bless");
            this.card.target.bufListDetail.AddKeywordBufThisRoundByCard(KeywordBuf.Endurance, 2);
            this.card.target.RecoverHP(12);
            EmotionCardAbility_plaguedoctor1.WhiteNightClock[this.owner.UnitData] += 1;
        }
Esempio n. 17
0
 public override void OnSelectEmotion()
 {
     base.OnSelectEmotion();
     SoundEffectPlayer.PlaySound("Creature/Nihil_StrongAtk");
     if (this._owner.faction != Faction.Player)
     {
         return;
     }
     this.GiveBuf();
 }
        public override void OnRoundStart()
        {
            base.OnRoundStart();
            if (this.count > 0)
            {
                this.aura = SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("5_T/FX_IllusionCard_5_T_Happiness", 1f, this._owner.view, this._owner.view);

                SoundEffectPlayer.PlaySound("Creature/Greed_MakeDiamond");
            }
            this.count = 0;
        }
        public override void OnSelectEmotion()
        {
            base.OnSelectEmotion();
            this._aura = SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("9_H/FX_IllusionCard_9_H_Eye", 1f, this._owner.view, this._owner.view);

            SoundEffectPlayer.PlaySound("Creature/MustSee_Wake_Storng");
            foreach (BattleUnitModel alive in BattleObjectManager.instance.GetAliveList(this._owner.faction == Faction.Player ? Faction.Enemy : Faction.Player))
            {
                alive.bufListDetail.AddBuf(new BattleUnitBuf_Emotion_BloodyTree(this._owner));
            }
        }
Esempio n. 20
0
 public override void OnRoundStart()
 {
     base.OnRoundStart();
     if (this._effect)
     {
         return;
     }
     this._effect = true;
     new GameObject().AddComponent <SpriteFilter_Gaho>().Init("EmotionCardFilter/WhiteNight_Filter", false, 2f);
     SoundEffectPlayer.PlaySound("Creature/WhiteNight_Changing");
     SoundEffectPlayer.PlaySound("Creature/WhiteNight_Apostle_Whisper2");
 }
Esempio n. 21
0
 public override void OnSelectEmotion()
 {
     SoundEffectPlayer.PlaySound("Creature/Pino_On");
     if (this._owner.faction == Faction.Player)
     {
         learn = this._owner.allyCardDetail.AddNewCard(this.GetTargetCardId());
     }
     if (this._owner.faction == Faction.Enemy)
     {
         copyiedList = new List <int>();
     }
 }
Esempio n. 22
0
        public IEnumerator <object> Transformation()
        {
            yield return((object)YieldCache.WaitForSeconds(0.65f));

            owner.view.charAppearance.ChangeMotion(ActionDetail.Default);
            SingletonBehavior <DiceEffectManager> .Instance.CreateCreatureEffect("Philip/Philip_Aura_Start", 1f, owner.view, owner.view, 1f);

            SoundEffectPlayer.PlaySound("Battle/Xiao_Vert");
            yield return((object)YieldCache.WaitForSeconds(0.8f));

            SingletonBehavior <BattleSceneRoot> .Instance.currentMapObject.SetRunningState(false);
        }
Esempio n. 23
0
 public override void OnRoundStart()
 {
     if (this._sound)
     {
         SoundEffectPlayer.PlaySound("Creature/Shark_Ocean");
     }
     this._sound = false;
     for (int i = 0; i < 3; i++)
     {
         this._owner.bufListDetail.AddKeywordBufThisRoundByEtc(RandomUtil.SelectOne <KeywordBuf>(debuff), 1);
     }
     this.aura = SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("3_H/FX_IllusionCard_3_H_Dertyfeather_Loop", 1f, this._owner.view, this._owner.view)?.gameObject;
 }
            public override void OnRoundEndTheLast()
            {
                base.OnRoundEndTheLast();
                if (this.stack < 4)
                {
                    return;
                }
                this._owner.TakeDamage(Mathf.RoundToInt((float)this._owner.MaxHp * 0.1f), DamageType.Buf, this._owner);
                SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("8_B/FX_IllusionCard_8_B_Judgement", 1f, this._owner.view, this._owner.view, 3f);

                SoundEffectPlayer.PlaySound("Creature/LongBird_Down");
                this.Destroy();
            }
Esempio n. 25
0
 public void Filter()
 {
     Battle.CreatureEffect.CreatureEffect original = Resources.Load <Battle.CreatureEffect.CreatureEffect>("Prefabs/Battle/CreatureEffect/New_IllusionCardFX/7_C/FX_IllusionCard_7_C_Mist");
     if (!((UnityEngine.Object)original != (UnityEngine.Object)null))
     {
         return;
     }
     Battle.CreatureEffect.CreatureEffect creatureEffect = UnityEngine.Object.Instantiate <Battle.CreatureEffect.CreatureEffect>(original);
     creatureEffect.gameObject.transform.SetParent(SingletonBehavior <BattleManagerUI> .Instance.EffectLayer);
     creatureEffect.gameObject.transform.localPosition = new Vector3(0.0f, 0.0f, 0.0f);
     creatureEffect.gameObject.transform.localScale    = new Vector3(1f, 1f, 1f);
     SoundEffectPlayer.PlaySound("Creature/Ozma_StrongAtk_Start");
 }
Esempio n. 26
0
        public override void OnDrawCard()
        {
            base.OnDrawCard();
            if (this._owner.faction == Faction.Enemy)
            {
                SoundEffectPlayer.PlaySound("Creature/Pino_On");
            }
            BattleDiceCardModel copy = this._owner.allyCardDetail.AddNewCard(RandomUtil.SelectOne <int>(copyiedList));

            copy.temporary = true;
            copy.SetPriorityAdder(100);
            copyiedList.Clear();
        }
Esempio n. 27
0
 public override void OnRoundStart()
 {
     _hungry = false;
     if (_healing < Threshold)
     {
         int dmg = (int)((double)this._owner.MaxHp * 0.1);
         this._owner.TakeDamage(Mathf.Min(dmg, 12));
         SoundEffectPlayer.PlaySound("Creature/Fairy_QueenEat");
         SoundEffectPlayer.PlaySound("Creature/Fairy_QueenChange");
         this.SetFilter("1/Fairy_Filter");
         _hungry = true;
     }
     _healing = 0;
 }
        public override void OnRoundStart()
        {
            base.OnRoundStart();
            SingletonBehavior <DiceEffectManager> .Instance.CreateNewFXCreatureEffect("8_B/FX_IllusionCard_8_B_Lamp", 1f, this._owner.view, this._owner.view, 3f);

            SoundEffectPlayer.PlaySound("Creature/Bigbird_Attract");
            if (this._owner.faction != Faction.Enemy)
            {
                return;
            }
            BattleUnitModel salvation = RandomUtil.SelectOne <BattleUnitModel>(BattleObjectManager.instance.GetAliveList(Faction.Player));

            salvation.bufListDetail.AddBuf(new Charm(this._owner));
        }
 public override void OnStartBattle()
 {
     if (this._owner.faction != Faction.Player)
     {
         return;
     }
     foreach (BattlePlayingCardDataInUnitModel card in this._owner.cardSlotDetail.cardAry)
     {
         if (card != null && card.target != null)
         {
             card.target.bufListDetail.AddBuf(new BattleUnitBuf_queenbee_punish());
             SoundEffectPlayer.PlaySound("Creature/QueenBee_AtkMode");
             return;
         }
     }
 }
Esempio n. 30
0
 public override void OnRoundStart()
 {
     base.OnRoundStart();
     if (this._owner.faction == Faction.Player)
     {
         if (this.turn >= 2)
         {
             DestroyFilter();
             return;
         }
         ++this.turn;
         foreach (BattleUnitModel alive in BattleObjectManager.instance.GetAliveList(Faction.Enemy))
         {
             alive.bufListDetail.AddBuf(new BattleUnitBuf_Emotion_Orchestra());
         }
         SoundEffectPlayer.PlaySound("Creature/Sym_movment_3_mov3");
     }
     if (this._owner.faction == Faction.Enemy)
     {
         ++this.turn;
         if (turn % 4 != 0)
         {
             if (BattleObjectManager.instance.GetAliveList(Faction.Player).FindAll(x => x.bufListDetail.GetActivatedBufList().Exists(y => y is Enthusiastic)).Count == 0)
             {
                 DestroyFilter();
             }
             return;
         }
         SoundEffectPlayer.PlaySound("Creature/Sym_movment_3_mov3");
         List <BattleUnitModel> Player = BattleObjectManager.instance.GetAliveList(Faction.Player).FindAll(x => !x.bufListDetail.GetActivatedBufList().Exists(y => y is Enthusiastic));
         if (Player.Count == 0)
         {
             return;
         }
         BattleUnitModel unlucky = RandomUtil.SelectOne <BattleUnitModel>(Player);
         unlucky.bufListDetail.AddBuf(new Enthusiastic());
         unlucky.breakDetail.RecoverBreakLife(unlucky.MaxBreakLife);
         unlucky.breakDetail.nextTurnBreak = false;
         unlucky.turnState = BattleUnitTurnState.WAIT_CARD;
         unlucky.breakDetail.RecoverBreak(unlucky.breakDetail.GetDefaultBreakGauge());
         if (!CheckDupFilter())
         {
             Filter();
         }
     }
 }