游戏王残局简化版

Annotation For sample4.lua
Login

Annotation For sample4.lua

Origin for each line in sample4.lua from check-in f8a1b1a6a8:

3dff221746 2023-04-17    1: --[[message
f8a1b1a6a8 2023-04-17    2: 
3dff221746 2023-04-17    3: 卡数:7
3dff221746 2023-04-17    4: 规则:大师2020
3dff221746 2023-04-17    5: 融合召唤入门
3dff221746 2023-04-17    6: ]]
3dff221746 2023-04-17    7: Debug.SetAIName("sample4")
3dff221746 2023-04-17    8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
3dff221746 2023-04-17    9: Debug.SetPlayerInfo(0,100,0,0)
3dff221746 2023-04-17   10: Debug.SetPlayerInfo(1,1300,0,0)
3dff221746 2023-04-17   11: 
3dff221746 2023-04-17   12: Debug.AddCard(45906428,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   13: Debug.AddCard(21143940,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   14: Debug.AddCard(24094653,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   15: Debug.AddCard(21844576,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   16: 
3dff221746 2023-04-17   17: --~ Debug.AddCard(40044918,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   18: Debug.AddCard(66836598,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   19: 
3dff221746 2023-04-17   20: Debug.AddCard(03642509,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17   21: Debug.AddCard(29095552,0,0,LOCATION_EXTRA,1,POS_FACEDOWN)
3dff221746 2023-04-17   22: Debug.AddCard(40854197,0,0,LOCATION_EXTRA,2,POS_FACEDOWN)
3dff221746 2023-04-17   23: 
3dff221746 2023-04-17   24: Debug.AddCard(34408491,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   25: --~ Debug.AddCard(32012841,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENCE)
3dff221746 2023-04-17   26: --~ Debug.AddCard(31305911,1,1,LOCATION_MZONE,3,POS_FACEUP_DEFENCE)
3dff221746 2023-04-17   27: 
3dff221746 2023-04-17   28: --~ Debug.AddCard(62279055,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
3dff221746 2023-04-17   29: 
3dff221746 2023-04-17   30: Debug.ReloadFieldEnd()
3dff221746 2023-04-17   31: --~ Debug.ShowHint("GAME START!")
3dff221746 2023-04-17   32: aux.BeginPuzzle()
3dff221746 2023-04-17   33: local e999=Effect.GlobalEffect()
3dff221746 2023-04-17   34: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3dff221746 2023-04-17   35: e999:SetCode(EVENT_DAMAGE)
3dff221746 2023-04-17   36: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
3dff221746 2023-04-17   37: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3dff221746 2023-04-17   38: Debug.ShowHint("残局群181175613") end)
3dff221746 2023-04-17   39: Duel.RegisterEffect(e999,0)