游戏王残局简化版

Annotation For single/LV-015.lua
Login

Annotation For single/LV-015.lua

Origin for each line in single/LV-015.lua from check-in e7f204fb3d:

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