游戏王残局简化版

QB058.lua at [2243f89dea]
Login

QB058.lua at [2243f89dea]

File single/QB058.lua artifact b5d48c7ba3 part of check-in 2243f89dea


--[[message
卡数:19
规则:大师3
]]
Debug.SetAIName("QB058")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,1100,0,0)
Debug.SetPlayerInfo(1,7100,0,0)

Debug.AddCard(85682655,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(53540729,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(12299841,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(53540729,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
local c1=Debug.AddCard(71594310,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
e1=Effect.CreateEffect(c1)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(2500)
c1:RegisterEffect(e1)
Debug.AddCard(47805931,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(81122844,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(77334267,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
local c2=Debug.AddCard(71594310,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
e2=Effect.CreateEffect(c2)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_SET_ATTACK)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetValue(2500)
c2:RegisterEffect(e2)
Debug.AddCard(25789292,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
Debug.AddCard(12299841,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(95714077,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(80604091,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
Debug.AddCard(29999161,0,0,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
Debug.AddCard(59297550,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(25484449,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK)
Debug.AddCard(16923472,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(57962537,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(79759861,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(61011311,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(44947065,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()

aux.BeginPuzzle()
local e999=Effect.GlobalEffect()
e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e999:SetCode(EVENT_DAMAGE)
e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("残局群181175613") end)
Duel.RegisterEffect(e999,0)
Debug.ShowHint("珍珠的攻击力已设置成2500!")