游戏王残局简化版

Annotation For single/07.Constellar vs Evilswarm.lua
Login

Annotation For single/07.Constellar vs Evilswarm.lua

Origin for each line in single/07.Constellar vs Evilswarm.lua from check-in 24cbf51c9c:

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