Commit 3655990e authored by Tachibana's avatar Tachibana

sign out

parent dbaecd1c
Pipeline #2968 passed with stages
in 26 minutes and 57 seconds
......@@ -80,7 +80,7 @@ function c81012014.condition2(e,tp,eg,ep,ev,re,r,rp)
return c:IsReason(REASON_BATTLE+REASON_EFFECT) and c:IsPreviousLocation(LOCATION_MZONE) and c:GetPreviousControler()==tp
end
function c81012014.thfilter(c)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_SPELL) and c:IsFaceup() and c:IsAbleToHand()
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_SPELL) and (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE)) and c:IsAbleToHand()
end
function c81012014.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c81012014.thfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil) end
......
......@@ -50,7 +50,7 @@ function c81012062.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c81012062.setfilter(c)
return c:IsType(TYPE_PENDULUM) and c:IsType(TYPE_RITUAL) and not c:IsForbidden()
return c:IsType(TYPE_PENDULUM) and c:IsType(TYPE_RITUAL) and not c:IsForbidden() and (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE))
end
function c81012062.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1))
......
......@@ -38,7 +38,7 @@ function c81012089.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.DiscardHand(tp,c81012089.cfilter,1,1,REASON_COST+REASON_DISCARD)
end
function c81012089.thfilter(c)
return c:IsFaceup() and c:IsType(TYPE_RITUAL) and c:IsType(TYPE_PENDULUM) and c:IsAbleToHand()
return (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE)) and c:IsType(TYPE_RITUAL) and c:IsType(TYPE_PENDULUM) and c:IsAbleToHand()
end
function c81012089.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_REMOVED+LOCATION_GRAVE) and c81012089.thfilter(chkc) 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