游戏王残局简化版

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 2cd1d8cbca:

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)
3dff221746 2023-04-17   26: Debug.ReloadFieldEnd()
3dff221746 2023-04-17   27: aux.BeginPuzzle()
cfd8ea9168 2023-06-25   28: local str = {}
cfd8ea9168 2023-06-25   29: local fun = {}
cfd8ea9168 2023-06-25   30: 
cfd8ea9168 2023-06-25   31: local cache_1
cfd8ea9168 2023-06-25   32: 
cfd8ea9168 2023-06-25   33: fun["通关邀请"] = function()
cfd8ea9168 2023-06-25   34:   local effect_100
cfd8ea9168 2023-06-25   35:   effect_100 = Effect.GlobalEffect()
cfd8ea9168 2023-06-25   36:   effect_100:SetType(EFFECT_TYPE_FIELD
cfd8ea9168 2023-06-25   37:     + EFFECT_TYPE_CONTINUOUS)
cfd8ea9168 2023-06-25   38:   effect_100:SetCode(EVENT_DAMAGE)
cfd8ea9168 2023-06-25   39:   function cache_1()
cfd8ea9168 2023-06-25   40: 
cfd8ea9168 2023-06-25   41:     cache_1 = Duel.GetLP(1)
cfd8ea9168 2023-06-25   42: 
cfd8ea9168 2023-06-25   43:     if cache_1 <= 0 then
cfd8ea9168 2023-06-25   44:       cache_1 = true
cfd8ea9168 2023-06-25   45:     else
cfd8ea9168 2023-06-25   46:       cache_1 = false
cfd8ea9168 2023-06-25   47:       end
cfd8ea9168 2023-06-25   48: 
cfd8ea9168 2023-06-25   49:     return cache_1
cfd8ea9168 2023-06-25   50:     end
cfd8ea9168 2023-06-25   51:   effect_100:SetCondition(cache_1)
cfd8ea9168 2023-06-25   52:   function cache_1()
cfd8ea9168 2023-06-25   53:     Debug.ShowHint("残局群181175613")
cfd8ea9168 2023-06-25   54:     return
cfd8ea9168 2023-06-25   55:     end
cfd8ea9168 2023-06-25   56:   effect_100:SetOperation(cache_1)
cfd8ea9168 2023-06-25   57:   Duel.RegisterEffect(effect_100
cfd8ea9168 2023-06-25   58:     , 0)
cfd8ea9168 2023-06-25   59:   end
cfd8ea9168 2023-06-25   60: 
cfd8ea9168 2023-06-25   61: fun["通关邀请"]()