Commit 5e353e86 authored by GuGu's avatar GuGu

Update c200015.lua

parent 357e8706
Pipeline #32889 passed with stage
in 8 seconds
...@@ -47,11 +47,12 @@ end ...@@ -47,11 +47,12 @@ end
function c200015.target(e,tp,eg,ep,ev,re,r,rp,chk) function c200015.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp, EFFECT_CANNOT_SSET) end if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp, EFFECT_CANNOT_SSET) end
Duel.Hint(HINT_SELECTMSG,tp,0) Duel.Hint(HINT_SELECTMSG,tp,0)
local ac=Duel.AnnounceCardFilter(tp,0x701,OPCODE_ISSETCARD,TYPE_TOKEN,OPCODE_ISTYPE,OPCODE_AND) local ac=Duel.AnnounceCard(tp,0x701,OPCODE_ISSETCARD,TYPE_FIELD,OPCODE_ISTYPE,OPCODE_AND)
e:SetLabel(ac) e:SetLabel(ac)
end end
function c200015.activate(e,tp,eg,ep,ev,re,r,rp) function c200015.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)
if not token:IsSSetable() then return end if not token:IsSSetable() then return end
Duel.MoveToField(token,tp,tp,LOCATION_FZONE,POS_FACEDOWN,false) Duel.MoveToField(token,tp,tp,LOCATION_FZONE,POS_FACEDOWN,false)
Duel.RaiseEvent(token,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(token,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
......
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