游戏王残局简化版

Annotation For single/sample9.lua
Login

Annotation For single/sample9.lua

Origin for each line in single/sample9.lua from check-in e2c3bec93f:

e7f204fb3d 2023-06-29    1: --[[message
e7f204fb3d 2023-06-29    2: 综合残局2
e7f204fb3d 2023-06-29    3: ]]
e2c3bec93f 2023-07-09    4: 
e2c3bec93f 2023-07-09    5: 
e2c3bec93f 2023-07-09    6: --~ 必须位于残局文件顶部
e2c3bec93f 2023-07-09    7: --~ 加载残局函数库
e2c3bec93f 2023-07-09    8: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
e7f204fb3d 2023-06-29    9: Debug.SetAIName("sample9")
e7f204fb3d 2023-06-29   10: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
e7f204fb3d 2023-06-29   11: Debug.SetPlayerInfo(0,100,0,0)
e7f204fb3d 2023-06-29   12: Debug.SetPlayerInfo(1,4300,0,0)
e7f204fb3d 2023-06-29   13: 
e7f204fb3d 2023-06-29   14: Debug.AddCard(00027551,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
e7f204fb3d 2023-06-29   15: 
e7f204fb3d 2023-06-29   16: Debug.AddCard(67441435,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   17: Debug.AddCard(50720316,0,0,LOCATION_GRAVE,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   18: 
e7f204fb3d 2023-06-29   19: Debug.AddCard(01845204,0,0,LOCATION_HAND,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   20: 
e7f204fb3d 2023-06-29   21: Debug.AddCard(63060238,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   22: Debug.AddCard(15839054,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   23: Debug.AddCard(24094653,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   24: Debug.AddCard(45906428,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   25: 
e7f204fb3d 2023-06-29   26: Debug.AddCard(16304628,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   27: Debug.AddCard(45815891,0,0,LOCATION_EXTRA,1,POS_FACEDOWN)
e7f204fb3d 2023-06-29   28: Debug.AddCard(34086406,0,0,LOCATION_EXTRA,2,POS_FACEDOWN)
e7f204fb3d 2023-06-29   29: Debug.AddCard(17412721,0,0,LOCATION_EXTRA,3,POS_FACEDOWN)
e7f204fb3d 2023-06-29   30: 
e7f204fb3d 2023-06-29   31: Debug.AddCard(74677422,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   32: Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   33: 
e7f204fb3d 2023-06-29   34: --~ Debug.AddCard(70342110,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
e7f204fb3d 2023-06-29   35: 
e7f204fb3d 2023-06-29   36: Debug.ReloadFieldEnd()
e7f204fb3d 2023-06-29   37: --~ Debug.ShowHint("GAME START!")
e7f204fb3d 2023-06-29   38: aux.BeginPuzzle()
e2c3bec93f 2023-07-09   39: fun["开局说明"]()
e7f204fb3d 2023-06-29   40: local e999=Effect.GlobalEffect()
e7f204fb3d 2023-06-29   41: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29   42: e999:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29   43: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e7f204fb3d 2023-06-29   44: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29   45: Debug.ShowHint("残局群181175613") end)
e7f204fb3d 2023-06-29   46: Duel.RegisterEffect(e999,0)