游戏王残局简化版

Annotation For LV-015.lua
Login

Annotation For LV-015.lua

Lines of LV-015.lua from check-in 62c2a34a52 that are changed by the sequence of edits moving toward check-in 6768ce7190:

                         1: --[[message
                         2: 卡数:
                         3: 规则:大师3
                         4: ]]
                         5: Debug.SetAIName("Level-015")
                         6: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
                         7: Debug.SetPlayerInfo(0,8000,0,0)
                         8: Debug.SetPlayerInfo(1,8100,0,0)
                         9: 
                        10: Debug.AddCard(31786629,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        11: Debug.AddCard(24611934,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        12: 
                        13: Debug.AddCard(43641473,0,0,LOCATION_SZONE,0,POS_FACEDOWN)
                        14: Debug.AddCard(43641473,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
                        15: Debug.AddCard(74701381,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        16: Debug.AddCard(74701381,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
62c2a34a52 2023-06-18   17: 
62c2a34a52 2023-06-18   18: Debug.AddCard(7565547,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        19: 
                        20: Debug.AddCard(40619825,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        21: Debug.AddCard(61405855,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        22: Debug.AddCard(23171610,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        23: Debug.AddCard(86318356,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        24: Debug.AddCard(18161786,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        25: 
                        26: local m01=Debug.AddCard(75347539,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENCE)
                        27: local s01=Debug.AddCard(98495314,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
                        28: Debug.PreEquip(s01,m01)
                        29: 
                        30: Debug.ReloadFieldEnd()
                        31: aux.BeginPuzzle()
                        32: 
                        33: 
                        34: local str = {}
                        35: local fun = {}
                        36: 
                        37: local cache_1
                        38: 
                        39: fun["通关邀请"] = function()
                        40:   local effect_100
                        41:   effect_100 = Effect.GlobalEffect()
                        42:   effect_100:SetType(EFFECT_TYPE_FIELD
                        43:     + EFFECT_TYPE_CONTINUOUS)
                        44:   effect_100:SetCode(EVENT_DAMAGE)
                        45:   function cache_1()
                        46: 
                        47:     cache_1 = Duel.GetLP(1)
                        48: 
                        49:     if cache_1 <= 0 then
                        50:       cache_1 = true
                        51:     else
                        52:       cache_1 = false
                        53:       end
                        54: 
                        55:     return cache_1
                        56:     end
                        57:   effect_100:SetCondition(cache_1)
                        58:   function cache_1()
                        59:     Debug.ShowHint("残局群181175613")
                        60:     return
                        61:     end
                        62:   effect_100:SetOperation(cache_1)
                        63:   Duel.RegisterEffect(effect_100
                        64:     , 0)
                        65:   end
                        66: 
                        67: fun["通关邀请"]()
                        68: