Exemplo n.º 1
0
 public override bool OnPreBattleBetween(ClientCard attacker, ClientCard defender)
 {
     if (attacker.Id == CardId.Linkuriboh && defender.IsFacedown())
     {
         return(false);
     }
     return(base.OnPreBattleBetween(attacker, defender));
 }
Exemplo n.º 2
0
 public override bool OnPreBattleBetween(ClientCard attacker, ClientCard defender)
 {
     if (attacker.Id == CardId.Linkuriboh && defender.IsFacedown())
     {
         return(false);
     }
     if (attacker.Id == CardId.SandaionTheTimelord && !attacker.IsDisabled())
     {
         attacker.RealPower = 9999;
         return(true);
     }
     if (attacker.Id == CardId.MichionTimelord && !attacker.IsDisabled())
     {
         attacker.RealPower = 9999;
         return(true);
     }
     return(base.OnPreBattleBetween(attacker, defender));
 }
Exemplo n.º 3
0
        public override bool OnPreActivate(ClientCard card)
        {
            ClientCard LastChainCard = Util.GetLastChainCard();

            if (LastChainCard != null && Duel.Phase == DuelPhase.Standby &&
                LastChainCard.IsCode(
                    _CardId.SandaionTheTimelord,
                    _CardId.GabrionTheTimelord,
                    _CardId.MichionTheTimelord,
                    _CardId.ZaphionTheTimelord,
                    _CardId.HailonTheTimelord,
                    _CardId.RaphionTheTimelord,
                    _CardId.SadionTheTimelord,
                    _CardId.MetaionTheTimelord,
                    _CardId.KamionTheTimelord,
                    _CardId.LazionTheTimelord
                    ))
            {
                return(false);
            }
            if ((card.Location == CardLocation.Hand || card.Location == CardLocation.SpellZone && card.IsFacedown()) &&
                (card.IsSpell() && DefaultSpellWillBeNegated() || card.IsTrap() && DefaultTrapWillBeNegated()))
            {
                return(false);
            }
            return(true);
        }