Commit efda4544 authored by Tachibana's avatar Tachibana

nmbd

parent c42d7536
...@@ -47,9 +47,9 @@ end ...@@ -47,9 +47,9 @@ end
function c1110141.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c1110141.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler() local c=e:GetHandler()
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c1110141.tfilter1(chkc,e,tp) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c1110141.tfilter1(chkc,e,tp) end
if chk==0 then return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (Duel.IsExistingTarget(c1110141.tfilter1,tp,LOCATION_MZONE,0,1,nil) or (Duel.IsExistingTarget(Card.IsReleasable,tp,LOCATION_MZONE,0,1,nil) and Duel.IsPlayerAffectedByEffect(tp,81005086))) end if chk==0 then return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (Duel.IsExistingTarget(c1110141.tfilter1,tp,LOCATION_MZONE,0,1,nil) or (Duel.IsExistingTarget(Card.IsReleasable,tp,LOCATION_MZONE,0,1,nil) and Duel.IsPlayerAffectedByEffect(tp,81002013))) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
if Duel.IsPlayerAffectedByEffect(tp,81005086) then if Duel.IsPlayerAffectedByEffect(tp,81002013) then
local sg=Duel.SelectTarget(tp,Card.IsReleasable,tp,LOCATION_MZONE,0,1,1,nil) local sg=Duel.SelectTarget(tp,Card.IsReleasable,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_RELEASE,sg,1,0,LOCATION_MZONE) Duel.SetOperationInfo(0,CATEGORY_RELEASE,sg,1,0,LOCATION_MZONE)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,LOCATION_PZONE) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,LOCATION_PZONE)
......
...@@ -47,9 +47,9 @@ end ...@@ -47,9 +47,9 @@ end
function c1110142.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c1110142.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler() local c=e:GetHandler()
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c1110142.tfilter1(chkc,e,tp) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c1110142.tfilter1(chkc,e,tp) end
if chk==0 then return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (Duel.IsExistingTarget(c1110142.tfilter1,tp,LOCATION_MZONE,0,1,nil) or (Duel.IsExistingTarget(Card.IsReleasable,tp,LOCATION_MZONE,0,1,nil) and Duel.IsPlayerAffectedByEffect(tp,81005086))) end if chk==0 then return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (Duel.IsExistingTarget(c1110142.tfilter1,tp,LOCATION_MZONE,0,1,nil) or (Duel.IsExistingTarget(Card.IsReleasable,tp,LOCATION_MZONE,0,1,nil) and Duel.IsPlayerAffectedByEffect(tp,81002013))) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
if Duel.IsPlayerAffectedByEffect(tp,81005086) then if Duel.IsPlayerAffectedByEffect(tp,81002013) then
local sg=Duel.SelectTarget(tp,Card.IsReleasable,tp,LOCATION_MZONE,0,1,1,nil) local sg=Duel.SelectTarget(tp,Card.IsReleasable,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_RELEASE,sg,1,0,LOCATION_MZONE) Duel.SetOperationInfo(0,CATEGORY_RELEASE,sg,1,0,LOCATION_MZONE)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,LOCATION_PZONE) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,LOCATION_PZONE)
......
...@@ -20,7 +20,7 @@ function cm.initial_effect(c) ...@@ -20,7 +20,7 @@ function cm.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(81005086) e1:SetCode(81002013)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
c:RegisterEffect(e1) c:RegisterEffect(e1)
......
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