游戏王残局简化版

sample1.lua at [2e21f15623]
Login

sample1.lua at [2e21f15623]

File single/sample1.lua artifact 6b4e6e1506 part of check-in 2e21f15623


--[[message
游戏王基本操作
]]


--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)


Debug.SetAIName("sample1")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,2100,0,0)
Debug.SetPlayerInfo(1,1500,0,0)

Debug.AddCard(89943723,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.AddCard(94192409,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(97077563,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(60082869,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(84749824,0,0,LOCATION_SZONE,4,POS_FACEDOWN)

Debug.AddCard(62113340,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(70781052,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(70781052,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)

Debug.AddCard(70342110,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(97077563,1,1,LOCATION_SZONE,3,POS_FACEDOWN)

Debug.ReloadFieldEnd()
aux.BeginPuzzle()

fun["开局说明"]()