游戏王残局简化版

Annotation For single/Naim_Lyrilusc.lua
Login

Annotation For single/Naim_Lyrilusc.lua

Lines of single/Naim_Lyrilusc.lua from check-in 1b3908e962 that are changed by the sequence of edits moving toward check-in 8cc3c134ba:

                         1: --[[message
                         2: Multiple attackers are fun when you can abuse them. Even funnier if they can attack directly.
                         3: ]]
                         4: 
                         5: --~ 必须位于残局文件顶部
                         6: --~ 加载残局函数库
                         7: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
                         8: 
                         9: 
                        10: Debug.SetAIName("Naim")
                        11: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
                        12: Debug.SetPlayerInfo(0,100,0,0)
                        13: Debug.SetPlayerInfo(1,14900,0,0)
                        14: 
                        15: local e0=Effect.GlobalEffect()
                        16: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        17: e0:SetCode(EVENT_ADJUST)
                        18: e0:SetCountLimit(1)
                        19: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
                        20: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        21: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,2,2,nil)
                        22: if g:GetCount()>0 then
                        23:   Duel.SendtoHand(g,nil,REASON_RULE)
                        24: end end)
                        25: Duel.RegisterEffect(e0,0)
                        26: 
                        27: --your hand
                        28: Debug.AddCard(97949165,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)		--turquoise
                        29: Debug.AddCard(34550857,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)		--cobalt
                        30: Debug.AddCard(85431040,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)		--evil thorn
                        31: Debug.AddCard(45452224,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)		--where arf thou
                        32: Debug.AddCard(43422537,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)		--double summon
                        33: 
                        34: --your deck
                        35: Debug.AddCard(85431040,0,0,LOCATION_DECK,0,POS_FACEDOWN)			--evil thorn
                        36: Debug.AddCard(85431040,0,0,LOCATION_DECK,0,POS_FACEDOWN)			--evil thorn
                        37: Debug.AddCard(60954556,0,0,LOCATION_DECK,0,POS_FACEDOWN)			--sapphire
                        38: Debug.AddCard(60954556,0,0,LOCATION_DECK,0,POS_FACEDOWN)			--sapphire
                        39: 
                        40: --your extra deck
                        41: Debug.AddCard(8491961,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)		--recite starling
                        42: Debug.AddCard(8491961,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)		--recite starling
                        43: Debug.AddCard(48608796,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)		--assembly nightingale
                        44: 
                        45: --opponent's
                        46: Debug.AddCard(46986414,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)		--Legendary Fisherman III
                        47: 
                        48: --Insert any message here
                        49: --insert additional message here
                        50: Debug.ReloadFieldEnd()
                        51: aux.BeginPuzzle()
                        52: 
                        53: 
1b3908e962 2023-07-07   54: fun["开局添加手卡"](4)