游戏王残局简化版

Annotation For 07.Constellar vs Evilswarm.lua
Login

Annotation For 07.Constellar vs Evilswarm.lua

Origin for each line in 07.Constellar vs Evilswarm.lua from check-in 8a43cd9bcf:

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