游戏王残局简化版

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 6d07678e85:

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)
e5efaef78a 2023-06-29   14: Debug.AddCard(2563463,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   15: Debug.AddCard(2091298,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17   16: Debug.AddCard(98012938,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17   17: Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   18: Debug.AddCard(16906241,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   19: Debug.AddCard(41269771,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   20: Debug.AddCard(94634433,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
3dff221746 2023-04-17   21: Debug.AddCard(359563,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE,true)
3dff221746 2023-04-17   22: Debug.AddCard(77542832,1,1,LOCATION_MZONE,1,POS_FACEUP)
6d07678e85 2023-06-29   23: --~ Debug.AddCard(91279700,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
3dff221746 2023-04-17   24: Debug.AddCard(77542832,1,1,LOCATION_MZONE,2,POS_FACEUP)
3dff221746 2023-04-17   25: Debug.AddCard(37926346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
3dff221746 2023-04-17   26: Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
11143c61d3 2023-06-29   27: --~ Debug.AddCard(9999961,1,1,LOCATION_MZONE,3,POS_FACEUP)
9e7e44f4b1 2023-06-29   28: --~ Debug.AddCard(0,1,1,LOCATION_MZONE,3,POS_FACEUP)
18bfcc2d6a 2023-06-29   29: Debug.AddCard(0,1,1,LOCATION_MZONE,3,POS_FACEUP)
3dff221746 2023-04-17   30: Debug.ReloadFieldEnd()
3dff221746 2023-04-17   31: aux.BeginPuzzle()
cfd8ea9168 2023-06-25   32: local str = {}
cfd8ea9168 2023-06-25   33: local fun = {}
cfd8ea9168 2023-06-25   34: 
cfd8ea9168 2023-06-25   35: local cache_1
cfd8ea9168 2023-06-25   36: 
cfd8ea9168 2023-06-25   37: fun["通关邀请"] = function()
cfd8ea9168 2023-06-25   38:   local effect_100
cfd8ea9168 2023-06-25   39:   effect_100 = Effect.GlobalEffect()
cfd8ea9168 2023-06-25   40:   effect_100:SetType(EFFECT_TYPE_FIELD
cfd8ea9168 2023-06-25   41:     + EFFECT_TYPE_CONTINUOUS)
cfd8ea9168 2023-06-25   42:   effect_100:SetCode(EVENT_DAMAGE)
cfd8ea9168 2023-06-25   43:   function cache_1()
cfd8ea9168 2023-06-25   44: 
cfd8ea9168 2023-06-25   45:     cache_1 = Duel.GetLP(1)
cfd8ea9168 2023-06-25   46: 
cfd8ea9168 2023-06-25   47:     if cache_1 <= 0 then
cfd8ea9168 2023-06-25   48:       cache_1 = true
cfd8ea9168 2023-06-25   49:     else
cfd8ea9168 2023-06-25   50:       cache_1 = false
cfd8ea9168 2023-06-25   51:       end
cfd8ea9168 2023-06-25   52: 
cfd8ea9168 2023-06-25   53:     return cache_1
cfd8ea9168 2023-06-25   54:     end
cfd8ea9168 2023-06-25   55:   effect_100:SetCondition(cache_1)
cfd8ea9168 2023-06-25   56:   function cache_1()
cfd8ea9168 2023-06-25   57:     Debug.ShowHint("残局群181175613")
cfd8ea9168 2023-06-25   58:     return
cfd8ea9168 2023-06-25   59:     end
cfd8ea9168 2023-06-25   60:   effect_100:SetOperation(cache_1)
cfd8ea9168 2023-06-25   61:   Duel.RegisterEffect(effect_100
cfd8ea9168 2023-06-25   62:     , 0)
cfd8ea9168 2023-06-25   63:   end
cfd8ea9168 2023-06-25   64: 
cfd8ea9168 2023-06-25   65: fun["通关邀请"]()
a55d4f29e9 2023-06-29   66: --~ aux.GetID()
7c5ca09cb8 2023-06-29   67: --~ Debug.ShowHint(GetID())
7c5ca09cb8 2023-06-29   68: --~ fun()
18bfcc2d6a 2023-06-29   69: 
cc0ccb7777 2023-06-29   70: _G.fun()