Commit dd9734a6 authored by Tachibana's avatar Tachibana

ndyd

parent 213fe19d
......@@ -69,9 +69,9 @@ function c20000001.cof3(c)
return c:IsAbleToGraveAsCost()
end
function c20000001.co3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c20000001.cof3,tp,LOCATION_ONFIELD,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c20000001.cof3,tp,LOCATION_ONFIELD,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c20000001.cof3,tp,LOCATION_ONFIELD,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c20000001.cof3,tp,LOCATION_ONFIELD,0,1,1,e:GetHandler())
Duel.SendtoGrave(g,REASON_COST)
end
function c20000001.tgf3(c,tp)
......
......@@ -94,7 +94,7 @@ function c20000002.op3(e,tp,eg,ep,ev,re,r,rp)
end
--e4
function c20000002.tg4(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() end
if chkc then return chkc:IsOnField() and chkc:IsControler(tp) and chkc~=e:GetHandler() end
if chk==0 then return Duel.IsExistingTarget(nil,tp,LOCATION_ONFIELD,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectTarget(tp,nil,tp,LOCATION_ONFIELD,0,1,1,e:GetHandler())
......
......@@ -159,7 +159,7 @@ function c20000009.tgf4(c,e,tp)
return c:IsAbleToRemove()
end
function c20000009.tg4(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return chkc:IsOnField() and c20000009.tgf3(chkc) end
if chkc then return chkc:IsOnField() and c20000009.tgf4(chkc) end
if chk==0 then return Duel.IsExistingMatchingCard(c20000009.tgf4,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectTarget(tp,c20000009.tgf4,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
......
......@@ -46,7 +46,7 @@ function cm.cfilter2(c)
return c:IsPreviousLocation(LOCATION_HAND)
end
function cm.con2(e,tp,eg,ep,ev,re,r,rp)
return not eg:IsContains(e:GetHandler()) and eg:IsExists(cm.cfilter,1,nil)
return not eg:IsContains(e:GetHandler()) and eg:IsExists(cm.cfilter2,1,nil)
end
function cm.spfilter1(c,e,tp)
return (c:IsSetCard(0x6344) or c:IsAttribute(ATTRIBUTE_LIGHT)) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
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