游戏王残局简化版

Annotation For LV-015.lua
Login

Annotation For LV-015.lua

Origin for each line in LV-015.lua from check-in 62c2a34a52:

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