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