Commit 2e9a71e3 authored by VanillaSalt's avatar VanillaSalt

remove/fix

parent 41ac36a2
......@@ -105,11 +105,7 @@ function c51053997.retcon(e,tp,eg,ep,ev,re,r,rp)
end
function c51053997.retop(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject()
if tc:IsForbidden() then
Duel.SendtoGrave(tc,REASON_RULE)
else
Duel.ReturnToField(tc)
end
Duel.ReturnToField(tc)
end
function c51053997.cfilter(c,tp)
return c:IsPreviousSetCard(0xc1) and c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousControler()==tp
......
......@@ -71,8 +71,8 @@ end
function c60417395.filter(c)
return c:IsFaceup() and c:IsType(TYPE_TRAP) and c:IsAbleToHand()
end
function c60417395.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingTarget(c60417395.filter,tp,LOCATION_ONFIELD,0,1,nil) end
function c60417395.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c60417395.filter,tp,LOCATION_ONFIELD,0,1,nil) end
local g=Duel.GetMatchingGroup(c60417395.filter,tp,LOCATION_ONFIELD,0,nil)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,g:GetCount(),0,0)
end
......
......@@ -40,9 +40,7 @@ function c78663366.retcon(e,tp,eg,ep,ev,re,r,rp)
end
function c78663366.retop(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject()
if tc:IsForbidden() then
Duel.SendtoGrave(tc,REASON_RULE)
elseif Duel.ReturnToField(tc) and tc:IsFaceup() then
if Duel.ReturnToField(tc) and tc:IsFaceup() then
local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
......
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