游戏王残局简化版

Annotation For single/07.Constellar vs Evilswarm.lua
Login

Annotation For single/07.Constellar vs Evilswarm.lua

Lines of single/07.Constellar vs Evilswarm.lua from check-in 42c3ea5119 that are changed by the sequence of edits moving toward check-in 10ca89b963:

                         1: --[[message
                         2: 卡数:13
                         3: 规则:大师3
                         4: 星圣vs入魔
                         5: ]]
                         6: Debug.SetAIName("四妹")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
                         8: Debug.SetPlayerInfo(0,100,0,0)
                         9: Debug.SetPlayerInfo(1,3250,0,0)
                        10: Debug.AddCard(70908596,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        11: Debug.AddCard(78358521,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        12: Debug.AddCard(78364470,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        13: Debug.AddCard(57103969,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        14: Debug.AddCard(2091298,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        15: Debug.AddCard(98012938,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        16: Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
                        17: Debug.AddCard(16906241,0,0,LOCATION_GRAVE,0,POS_FACEUP)
                        18: Debug.AddCard(41269771,0,0,LOCATION_GRAVE,0,POS_FACEUP)
                        19: Debug.AddCard(94634433,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        20: Debug.AddCard(359563,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE,true)
                        21: Debug.AddCard(77542832,1,1,LOCATION_MZONE,1,POS_FACEUP)
                        22: Debug.AddCard(91279700,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
                        23: Debug.AddCard(77542832,1,1,LOCATION_MZONE,2,POS_FACEUP)
                        24: Debug.AddCard(37926346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
                        25: Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
                        26: Debug.AddCard(0,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        27: Debug.ReloadFieldEnd()
                        28: aux.BeginPuzzle()
42c3ea5119 2023-06-29   29: local str = {}
42c3ea5119 2023-06-29   30: local fun = {}
42c3ea5119 2023-06-29   31: 
42c3ea5119 2023-06-29   32: local cache_1
42c3ea5119 2023-06-29   33: 
42c3ea5119 2023-06-29   34: fun["通关邀请"] = function()
42c3ea5119 2023-06-29   35:   local effect_100
42c3ea5119 2023-06-29   36:   effect_100 = Effect.GlobalEffect()
42c3ea5119 2023-06-29   37:   effect_100:SetType(EFFECT_TYPE_FIELD
42c3ea5119 2023-06-29   38:     + EFFECT_TYPE_CONTINUOUS)
42c3ea5119 2023-06-29   39:   effect_100:SetCode(EVENT_DAMAGE)
42c3ea5119 2023-06-29   40:   function cache_1()
42c3ea5119 2023-06-29   41: 
42c3ea5119 2023-06-29   42:     cache_1 = Duel.GetLP(1)
42c3ea5119 2023-06-29   43: 
42c3ea5119 2023-06-29   44:     if cache_1 <= 0 then
42c3ea5119 2023-06-29   45:       cache_1 = true
42c3ea5119 2023-06-29   46:     else
42c3ea5119 2023-06-29   47:       cache_1 = false
42c3ea5119 2023-06-29   48:       end
42c3ea5119 2023-06-29   49: 
42c3ea5119 2023-06-29   50:     return cache_1
42c3ea5119 2023-06-29   51:     end
42c3ea5119 2023-06-29   52:   effect_100:SetCondition(cache_1)
42c3ea5119 2023-06-29   53:   function cache_1()
42c3ea5119 2023-06-29   54:     Debug.ShowHint("残局群181175613")
42c3ea5119 2023-06-29   55:     return
42c3ea5119 2023-06-29   56:     end
42c3ea5119 2023-06-29   57:   effect_100:SetOperation(cache_1)
42c3ea5119 2023-06-29   58:   Duel.RegisterEffect(effect_100
42c3ea5119 2023-06-29   59:     , 0)
42c3ea5119 2023-06-29   60:   end
42c3ea5119 2023-06-29   61: 
42c3ea5119 2023-06-29   62: fun["通关邀请"]()
42c3ea5119 2023-06-29   63: Debug.ShowHint("残局群181175613")