3c129a4f8e 2023-04-26 1: --[[message
3c129a4f8e 2023-04-26 2: 卡数:11
3c129a4f8e 2023-04-26 3: 规则:大师3
3c129a4f8e 2023-04-26 4: Inspired by this page (http://roadoftheking.com/dd-advance-combo).
3c129a4f8e 2023-04-26 5: ]]
3c129a4f8e 2023-04-26 6: Debug.SetAIName("Naim")
3c129a4f8e 2023-04-26 7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
3c129a4f8e 2023-04-26 8: Debug.SetPlayerInfo(0,100,0,0)
3c129a4f8e 2023-04-26 9: Debug.SetPlayerInfo(1,11000,0,0)
3c129a4f8e 2023-04-26 10:
3c129a4f8e 2023-04-26 11: local e0=Effect.GlobalEffect()
3c129a4f8e 2023-04-26 12: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3c129a4f8e 2023-04-26 13: e0:SetCode(EVENT_ADJUST)
3c129a4f8e 2023-04-26 14: e0:SetCountLimit(1)
3c129a4f8e 2023-04-26 15: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
3c129a4f8e 2023-04-26 16: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3c129a4f8e 2023-04-26 17: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,4,4,nil)
3c129a4f8e 2023-04-26 18: if g:GetCount()>0 then
3c129a4f8e 2023-04-26 19: Duel.SendtoHand(g,nil,REASON_RULE)
3c129a4f8e 2023-04-26 20: end end)
3c129a4f8e 2023-04-26 21: Duel.RegisterEffect(e0,0)
3c129a4f8e 2023-04-26 22:
3c129a4f8e 2023-04-26 23: --your hand
3c129a4f8e 2023-04-26 24: Debug.AddCard(74069667,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --ragnarok
3c129a4f8e 2023-04-26 25: --~ Debug.AddCard(45206713,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --swirl
3c129a4f8e 2023-04-26 26: --~ Debug.AddCard(46372010,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --gate
3c129a4f8e 2023-04-26 27: Debug.AddCard(11609969,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --kepler
3c129a4f8e 2023-04-26 28:
3c129a4f8e 2023-04-26 29: --your deck
3c129a4f8e 2023-04-26 30: Debug.AddCard(73360025,0,0,LOCATION_DECK,0,POS_FACEDOWN) --swamp
3c129a4f8e 2023-04-26 31: Debug.AddCard(45206713,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --swirl
3c129a4f8e 2023-04-26 32: Debug.AddCard(46372010,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --gate
3c129a4f8e 2023-04-26 33: Debug.AddCard(19580308,0,0,LOCATION_DECK,0,POS_FACEDOWN) --lamia
3c129a4f8e 2023-04-26 34:
3c129a4f8e 2023-04-26 35: --your extra deck
3c129a4f8e 2023-04-26 36: Debug.AddCard(8463720,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --beowulf
3c129a4f8e 2023-04-26 37: Debug.AddCard(74583607,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --genghis
3c129a4f8e 2023-04-26 38: Debug.AddCard(50954680,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --crystal
3c129a4f8e 2023-04-26 39: Debug.AddCard(44852429,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --sieg
3c129a4f8e 2023-04-26 40: Debug.AddCard(987311,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --alex
3c129a4f8e 2023-04-26 41:
3c129a4f8e 2023-04-26 42: --opponent's
3c129a4f8e 2023-04-26 43: Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --graydle dragon
3c129a4f8e 2023-04-26 44:
3c129a4f8e 2023-04-26 45:
3c129a4f8e 2023-04-26 46: --Insert any message here
3c129a4f8e 2023-04-26 47: --insert additional message here
3c129a4f8e 2023-04-26 48: Debug.ReloadFieldEnd()
3c129a4f8e 2023-04-26 49:
3c129a4f8e 2023-04-26 50: Debug.ShowHint("从卡组中选择四张卡加入手卡!")
3c129a4f8e 2023-04-26 51: aux.BeginPuzzle()
3c129a4f8e 2023-04-26 52: local e999=Effect.GlobalEffect()
3c129a4f8e 2023-04-26 53: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3c129a4f8e 2023-04-26 54: e999:SetCode(EVENT_DAMAGE)
3c129a4f8e 2023-04-26 55: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
3c129a4f8e 2023-04-26 56: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3c129a4f8e 2023-04-26 57: Debug.ShowHint("残局群181175613") end)
3c129a4f8e 2023-04-26 58: Duel.RegisterEffect(e999,0)
3c129a4f8e 2023-04-26 59:
3c129a4f8e 2023-04-26 60: --~ Debug.ShowHint("Win this turn!!")