Commit f272cc66 authored by GuGu's avatar GuGu

Update c200301.lua

parent ffdd10c3
Pipeline #32887 passed with stage
in 12 seconds
......@@ -22,11 +22,12 @@ end
function c200301.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.Hint(HINT_SELECTMSG,tp,0)
local ac=Duel.AnnounceCardFilter(tp,0x701,OPCODE_ISSETCARD,TYPE_TOKEN,OPCODE_ISTYPE,OPCODE_AND)
local ac=Duel.AnnounceCardFilter(tp,0x701,OPCODE_ISSETCARD,TYPE_FIELD,OPCODE_ISTYPE,OPCODE_AND)
e:SetLabel(ac)
end
function c200301.activate(e,tp,eg,ep,ev,re,r,rp)
local token=Duel.CreateToken(tp,e:GetLabel())
if not (e:GetLabel()>=200501 and e:GetLabel()<=200520) then return end
local token=Duel.CreateToken(tp,e:GetLabel()-400)
Duel.MoveToField(token,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
-- Duel.RaiseEvent(token,EVENT_CHAIN_SOLVED,token:GetActivateEffect(),0,tp,tp,Duel.GetCurrentChain())
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment