游戏王残局简化版

36.Deskbot Revolution.lua at [65b745cb51]
Login

36.Deskbot Revolution.lua at [65b745cb51]

File 36.Deskbot Revolution.lua artifact d33db609c6 part of check-in 65b745cb51


--[[message
卡数:40
规则:大师3
文具人革命
]]
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,3100,0,0)

Debug.AddCard(60953949,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(25494711,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(24573625,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(97588916,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(55106249,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(10117149,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(22227683,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(22227683,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(22227683,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(59368956,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(59368956,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(94693857,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(12215894,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(75944053,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(63995093,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(1249315,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(82633039,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(28912357,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(97204936,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(82044279,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(89544521,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(80532587,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(94634433,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(52503575,0,0,LOCATION_SZONE,2,POS_FACEUP)
Debug.AddCard(46652477,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(1154611,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(7841112,1,1,LOCATION_GRAVE,0,POS_FACEUP,true)
Debug.AddCard(85800949,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(84565800,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(80019195,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(59438930,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(62015408,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(73977033,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(7902349,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(82044279,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(86221741,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
local m10=Debug.AddCard(58604027,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local e10=Effect.CreateEffect(m10)
e10:SetType(EFFECT_TYPE_SINGLE)
e10:SetCode(EFFECT_SET_ATTACK)
e10:SetValue(5000)
e10:SetReset(RESET_EVENT+RESETS_STANDARD)
m10:RegisterEffect(e10)
local m11=Debug.AddCard(4392470,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local e11=Effect.CreateEffect(m10)
e11:SetType(EFFECT_TYPE_SINGLE)
e11:SetCode(EFFECT_SET_ATTACK)
e11:SetValue(4000)
e11:SetReset(RESET_EVENT+RESETS_STANDARD)
m11:RegisterEffect(e11)
Debug.AddCard(53315891,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(89474727,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
Debug.AddCard(92512625,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(12253117,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(78082039,1,1,LOCATION_SZONE,5,POS_FACEUP)
local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_ADJUST)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetFieldGroupCount(1,LOCATION_HAND+LOCATION_GRAVE+LOCATION_MZONE+LOCATION_SZONE+LOCATION_REMOVED,0)==0 end)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) Debug.ShowHint("目标已达成!") Duel.SetLP(1,0) end)
Duel.RegisterEffect(e1,0)
Debug.ReloadFieldEnd()
Debug.ShowHint("部分怪兽的攻守已改变!\n在这个回合使对方的所有卡回到卡组·额外卡组!")
--~ Debug.ShowHint("在这个回合使对方的所有卡回到卡组·额外卡组!")
aux.BeginPuzzle()