游戏王残局简化版

Annotation For sample7.lua
Login

Annotation For sample7.lua

Origin for each line in sample7.lua from check-in 46fa9991e7:

3dff221746 2023-04-17    1: --[[message
3dff221746 2023-04-17    2: 卡数:7
3dff221746 2023-04-17    3: 规则:大师2020
3dff221746 2023-04-17    4: 连接召唤入门
3dff221746 2023-04-17    5: ]]
3dff221746 2023-04-17    6: Debug.SetAIName("sample7")
3dff221746 2023-04-17    7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
3dff221746 2023-04-17    8: Debug.SetPlayerInfo(0,100,0,0)
3dff221746 2023-04-17    9: Debug.SetPlayerInfo(1,3000,0,0)
3dff221746 2023-04-17   10: 
3dff221746 2023-04-17   11: Debug.AddCard(81275020,0,0,LOCATION_HAND,0,POS_FACEDOWN) --陀螺
3dff221746 2023-04-17   12: Debug.AddCard(645087,0,0,LOCATION_HAND,0,POS_FACEDOWN) --工具
3dff221746 2023-04-17   13: 
3dff221746 2023-04-17   14: Debug.AddCard(50185950,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK) --栗子球
3dff221746 2023-04-17   15: 
3dff221746 2023-04-17   16: Debug.AddCard(53932291,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK) --竹蜻蜓
3dff221746 2023-04-17   17: Debug.AddCard(59546797,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK) --妖形杵
3dff221746 2023-04-17   18: 
3dff221746 2023-04-17   19: Debug.AddCard(1861629,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --解码
3dff221746 2023-04-17   20: 
3dff221746 2023-04-17   21: Debug.AddCard(46986414,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --黑魔导
3dff221746 2023-04-17   22: Debug.AddCard(62279055,1,1,LOCATION_SZONE,2,POS_FACEDOWN) --魔法筒
3dff221746 2023-04-17   23: 
3dff221746 2023-04-17   24: Debug.ReloadFieldEnd()
3dff221746 2023-04-17   25: aux.BeginPuzzle()
3dff221746 2023-04-17   26: local e999=Effect.GlobalEffect()
3dff221746 2023-04-17   27: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3dff221746 2023-04-17   28: e999:SetCode(EVENT_DAMAGE)
3dff221746 2023-04-17   29: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
3dff221746 2023-04-17   30: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3dff221746 2023-04-17   31: Debug.ShowHint("残局群181175613") end)
3dff221746 2023-04-17   32: Duel.RegisterEffect(e999,0)