Commit d21d7ce3 authored by nekrozar's avatar nekrozar

fix Danger!

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=22814

質問の状況のように、自分のメインモンスターゾーンに空いているゾーンがない場合でも、手札の「未界域のネッシー」のモンスター効果を発動する事はできます。

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=22815

質問の状況のように、「虚無空間」の効果が適用されている事によって、モンスターの特殊召喚が行えない場合でも、手札の「未界域のビッグフット」のモンスター効果を発動する事はできます。
parent 54186844
...@@ -29,13 +29,11 @@ function c16209941.spfilter(c,e,tp) ...@@ -29,13 +29,11 @@ function c16209941.spfilter(c,e,tp)
return c:IsCode(16209941) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(16209941) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c16209941.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c16209941.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c16209941.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c16209941.spop(e,tp,eg,ep,ev,re,r,rp) function c16209941.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0) local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
if g:GetCount()<=0 then return end if g:GetCount()<=0 then return end
local tc=g:RandomSelect(1-tp,1):GetFirst() local tc=g:RandomSelect(1-tp,1):GetFirst()
......
...@@ -29,9 +29,8 @@ function c26302107.spfilter(c,e,tp) ...@@ -29,9 +29,8 @@ function c26302107.spfilter(c,e,tp)
return c:IsCode(26302107) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(26302107) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c26302107.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c26302107.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c26302107.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) and Duel.IsPlayerCanDraw(tp,1) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c26302107.spop(e,tp,eg,ep,ev,re,r,rp) function c26302107.spop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -29,13 +29,11 @@ function c43316238.spfilter(c,e,tp) ...@@ -29,13 +29,11 @@ function c43316238.spfilter(c,e,tp)
return c:IsCode(43316238) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(43316238) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c43316238.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c43316238.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c43316238.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c43316238.spop(e,tp,eg,ep,ev,re,r,rp) function c43316238.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0) local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
if g:GetCount()<=0 then return end if g:GetCount()<=0 then return end
local tc=g:RandomSelect(1-tp,1):GetFirst() local tc=g:RandomSelect(1-tp,1):GetFirst()
......
...@@ -29,13 +29,11 @@ function c43694650.spfilter(c,e,tp) ...@@ -29,13 +29,11 @@ function c43694650.spfilter(c,e,tp)
return c:IsCode(43694650) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(43694650) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c43694650.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c43694650.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c43694650.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c43694650.spop(e,tp,eg,ep,ev,re,r,rp) function c43694650.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0) local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
if g:GetCount()<=0 then return end if g:GetCount()<=0 then return end
local tc=g:RandomSelect(1-tp,1):GetFirst() local tc=g:RandomSelect(1-tp,1):GetFirst()
......
...@@ -29,9 +29,8 @@ function c52350806.spfilter(c,e,tp) ...@@ -29,9 +29,8 @@ function c52350806.spfilter(c,e,tp)
return c:IsCode(52350806) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(52350806) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c52350806.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c52350806.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c52350806.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) and Duel.IsPlayerCanDraw(tp,1) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c52350806.spop(e,tp,eg,ep,ev,re,r,rp) function c52350806.spop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -29,13 +29,11 @@ function c70711847.spfilter(c,e,tp) ...@@ -29,13 +29,11 @@ function c70711847.spfilter(c,e,tp)
return c:IsCode(70711847) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(70711847) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c70711847.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c70711847.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c70711847.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c70711847.spop(e,tp,eg,ep,ev,re,r,rp) function c70711847.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0) local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
if g:GetCount()<=0 then return end if g:GetCount()<=0 then return end
local tc=g:RandomSelect(1-tp,1):GetFirst() local tc=g:RandomSelect(1-tp,1):GetFirst()
......
...@@ -27,13 +27,11 @@ function c83518674.spfilter(c,e,tp) ...@@ -27,13 +27,11 @@ function c83518674.spfilter(c,e,tp)
return c:IsCode(83518674) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(83518674) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c83518674.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c83518674.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c83518674.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c83518674.spop(e,tp,eg,ep,ev,re,r,rp) function c83518674.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0) local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
if g:GetCount()<=0 then return end if g:GetCount()<=0 then return end
local tc=g:RandomSelect(1-tp,1):GetFirst() local tc=g:RandomSelect(1-tp,1):GetFirst()
......
...@@ -29,9 +29,8 @@ function c90807199.spfilter(c,e,tp) ...@@ -29,9 +29,8 @@ function c90807199.spfilter(c,e,tp)
return c:IsCode(90807199) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(90807199) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c90807199.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c90807199.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c90807199.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) and Duel.IsPlayerCanDraw(tp,1) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c90807199.spop(e,tp,eg,ep,ev,re,r,rp) function c90807199.spop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -29,9 +29,8 @@ function c99745551.spfilter(c,e,tp) ...@@ -29,9 +29,8 @@ function c99745551.spfilter(c,e,tp)
return c:IsCode(99745551) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(99745551) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c99745551.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c99745551.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil,REASON_EFFECT) end
and Duel.IsExistingMatchingCard(c99745551.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) and Duel.IsPlayerCanDraw(tp,1) end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c99745551.spop(e,tp,eg,ep,ev,re,r,rp) function c99745551.spop(e,tp,eg,ep,ev,re,r,rp)
......
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