Commit 22916c46 authored by nekrozar's avatar nekrozar

fix Duel.SendtoExtraP

Q.

「魔界劇団-ビッグ・スター」を宣言して「禁止令」が発動されている場合、自分は「魔界劇団の楽屋入り」の効果で「魔界劇団-ビッグ・スター」をエクストラデッキに表側表示で加える事ができますか?
A.
ご質問の状況で、「魔界劇団の楽屋入り」を発動し、デッキから「界劇団-ビッグ・スター」をエクストラデッキに加えることはできます。
parent 347c7ebf
...@@ -45,7 +45,7 @@ function c18210764.tecon(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,7 @@ function c18210764.tecon(e,tp,eg,ep,ev,re,r,rp)
end end
function c18210764.tefilter(c) function c18210764.tefilter(c)
return (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE)) and c:IsType(TYPE_PENDULUM) return (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE)) and c:IsType(TYPE_PENDULUM)
and not c:IsCode(18210764) and not c:IsForbidden() and not c:IsCode(18210764)
end end
function c18210764.tetg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c18210764.tetg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) and chkc:IsControler(tp) and c18210764.tefilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) and chkc:IsControler(tp) and c18210764.tefilter(chkc) end
......
...@@ -43,7 +43,7 @@ function c24094258.tecon(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function c24094258.tecon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function c24094258.tefilter(c) function c24094258.tefilter(c)
return c:IsType(TYPE_PENDULUM) and not c:IsForbidden() return c:IsType(TYPE_PENDULUM)
end end
function c24094258.tetg(e,tp,eg,ep,ev,re,r,rp,chk) function c24094258.tetg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c24094258.tefilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c24094258.tefilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -46,7 +46,7 @@ function c29432356.initial_effect(c) ...@@ -46,7 +46,7 @@ function c29432356.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c29432356.scfilter(c,pc) function c29432356.scfilter(c,pc)
return c:IsType(TYPE_PENDULUM) and c:IsSetCard(0xc4) and not c:IsForbidden() return c:IsType(TYPE_PENDULUM) and c:IsSetCard(0xc4)
and c:GetLeftScale()~=pc:GetLeftScale() and c:GetLeftScale()~=pc:GetLeftScale()
end end
function c29432356.sctg(e,tp,eg,ep,ev,re,r,rp,chk) function c29432356.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -15,7 +15,7 @@ function c59057953.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -15,7 +15,7 @@ function c59057953.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_PZONE,0,2,nil,0x10ec) return Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_PZONE,0,2,nil,0x10ec)
end end
function c59057953.filter(c) function c59057953.filter(c)
return c:IsType(TYPE_PENDULUM) and c:IsSetCard(0x10ec) and not c:IsForbidden() return c:IsType(TYPE_PENDULUM) and c:IsSetCard(0x10ec)
end end
function c59057953.target(e,tp,eg,ep,ev,re,r,rp,chk) function c59057953.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
......
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