游戏王残局简化版

Annotation For LV-015.lua
Login

Annotation For LV-015.lua

Origin for each line in LV-015.lua from check-in 0a98e76f18:

4720add5c8 2023-06-18    1: --[[message
0a98e76f18 2023-06-18    2: 卡数:13
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(40619825,0,0,LOCATION_HAND,0,POS_FACEDOWN)
116f901f70 2023-06-18   19: Debug.AddCard(61405855,0,0,LOCATION_HAND,0,POS_FACEDOWN)
116f901f70 2023-06-18   20: Debug.AddCard(23171610,0,0,LOCATION_HAND,0,POS_FACEDOWN)
116f901f70 2023-06-18   21: Debug.AddCard(86318356,0,0,LOCATION_HAND,0,POS_FACEDOWN)
116f901f70 2023-06-18   22: Debug.AddCard(18161786,0,0,LOCATION_HAND,0,POS_FACEDOWN)
116f901f70 2023-06-18   23: 
116f901f70 2023-06-18   24: local m01=Debug.AddCard(75347539,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENCE)
116f901f70 2023-06-18   25: local s01=Debug.AddCard(98495314,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
116f901f70 2023-06-18   26: Debug.PreEquip(s01,m01)
116f901f70 2023-06-18   27: 
116f901f70 2023-06-18   28: Debug.ReloadFieldEnd()
116f901f70 2023-06-18   29: aux.BeginPuzzle()
62c2a34a52 2023-06-18   30: 
62c2a34a52 2023-06-18   31: 
62c2a34a52 2023-06-18   32: local str = {}
62c2a34a52 2023-06-18   33: local fun = {}
62c2a34a52 2023-06-18   34: 
62c2a34a52 2023-06-18   35: local cache_1
62c2a34a52 2023-06-18   36: 
62c2a34a52 2023-06-18   37: fun["通关邀请"] = function()
62c2a34a52 2023-06-18   38:   local effect_100
62c2a34a52 2023-06-18   39:   effect_100 = Effect.GlobalEffect()
62c2a34a52 2023-06-18   40:   effect_100:SetType(EFFECT_TYPE_FIELD
62c2a34a52 2023-06-18   41:     + EFFECT_TYPE_CONTINUOUS)
62c2a34a52 2023-06-18   42:   effect_100:SetCode(EVENT_DAMAGE)
62c2a34a52 2023-06-18   43:   function cache_1()
62c2a34a52 2023-06-18   44: 
62c2a34a52 2023-06-18   45:     cache_1 = Duel.GetLP(1)
62c2a34a52 2023-06-18   46: 
62c2a34a52 2023-06-18   47:     if cache_1 <= 0 then
62c2a34a52 2023-06-18   48:       cache_1 = true
62c2a34a52 2023-06-18   49:     else
62c2a34a52 2023-06-18   50:       cache_1 = false
62c2a34a52 2023-06-18   51:       end
62c2a34a52 2023-06-18   52: 
62c2a34a52 2023-06-18   53:     return cache_1
62c2a34a52 2023-06-18   54:     end
62c2a34a52 2023-06-18   55:   effect_100:SetCondition(cache_1)
62c2a34a52 2023-06-18   56:   function cache_1()
62c2a34a52 2023-06-18   57:     Debug.ShowHint("残局群181175613")
62c2a34a52 2023-06-18   58:     return
62c2a34a52 2023-06-18   59:     end
62c2a34a52 2023-06-18   60:   effect_100:SetOperation(cache_1)
62c2a34a52 2023-06-18   61:   Duel.RegisterEffect(effect_100
62c2a34a52 2023-06-18   62:     , 0)
62c2a34a52 2023-06-18   63:   end
62c2a34a52 2023-06-18   64: 
62c2a34a52 2023-06-18   65: fun["通关邀请"]()
62c2a34a52 2023-06-18   66: