Commit 5dedc518 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 65ee80f7
......@@ -2,7 +2,7 @@
function c33400014.initial_effect(c)
c:EnableCounterPermit(0x34f)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x3341),8,2)
aux.AddXyzProcedure(c,nil,8,2,nil,nil,99)
c:EnableReviveLimit()
--direct attack
local e1=Effect.CreateEffect(c)
......
......@@ -82,9 +82,15 @@ end
function c61000000.spfilter(c,e,tp)
return c:IsSetCard(0x980) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN_DEFENSE)
end
function c61000000.cfilter2(c)
return c:IsFaceup() and c:IsCode(33500901) and c:IsType(TYPE_MONSTER)
end
function c61000000.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
return (e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) or Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_MZONE,0,1,nil)) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
end
--function c61000000.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
--end
function c61000000.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c61000000.spfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,e,tp) end
......
......@@ -84,9 +84,15 @@ end
function c61000001.filter(c)
return c:IsSetCard(0x980) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function c61000001.cfilter2(c)
return c:IsFaceup() and c:IsCode(33500901) and c:IsType(TYPE_MONSTER)
end
function c61000001.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
return (e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) or Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_MZONE,0,1,nil)) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
end
--function c61000001.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
--end
function c61000001.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c61000001.filter,tp,LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
......
......@@ -91,9 +91,15 @@ function c61000002.operation(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e3)
end
end
function c61000002.cfilter2(c)
return c:IsFaceup() and c:IsCode(33500901) and c:IsType(TYPE_MONSTER)
end
function c61000002.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
return (e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) or Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_MZONE,0,1,nil)) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
end
--function c61000002.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
--end
function c61000002.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingTarget(Card.IsAbleToRemove,tp,0,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
......
......@@ -78,9 +78,15 @@ end
function c61000003.filter(c)
return c:IsFaceup() and c:IsCanTurnSet()
end
function c61000003.cfilter2(c)
return c:IsFaceup() and c:IsCode(33500901) and c:IsType(TYPE_MONSTER)
end
function c61000003.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
return (e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) or Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_MZONE,0,1,nil)) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
end
--function c61000003.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
--end
function c61000003.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingTarget(c61000003.filter,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
......
......@@ -81,9 +81,15 @@ end
function c61000004.drfilter(c)
return c:IsSetCard(0x980) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable()
end
function c61000004.cfilter2(c)
return c:IsFaceup() and c:IsCode(33500901) and c:IsType(TYPE_MONSTER)
end
function c61000004.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
return (e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) or Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_MZONE,0,1,nil)) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
end
--function c61000004.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
--end
function c61000004.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and Duel.IsExistingMatchingCard(c61000004.drfilter,tp,LOCATION_DECK,0,1,nil) end
......
......@@ -78,9 +78,15 @@ function c61000005.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g)
end
end
function c61000005.cfilter2(c)
return c:IsFaceup() and c:IsCode(33500901) and c:IsType(TYPE_MONSTER)
end
function c61000005.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
return (e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) or Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_MZONE,0,1,nil)) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
end
--function c61000005.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
--end
function c61000005.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingTarget(Card.IsAbleToGrave,tp,LOCATION_ONFIELD,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
......
......@@ -68,9 +68,15 @@ end
function c61000006.filter1(c)
return c:IsSetCard(0x980) and c:IsAbleToDeck()
end
function c61000006.cfilter2(c)
return c:IsFaceup() and c:IsCode(33500901) and c:IsType(TYPE_MONSTER)
end
function c61000006.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
return (e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) or Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_MZONE,0,1,nil)) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
end
--function c61000006.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
--end
function c61000006.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingTarget(c61000006.filter1,tp,LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,0,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