游戏王残局简化版

Annotation For Naim_DDD_衍生-1.lua
Login

Annotation For Naim_DDD_衍生-1.lua

Origin for each line in Naim_DDD_衍生-1.lua from check-in 1240f29456:

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