Commit c2145d5e authored by salix5's avatar salix5

fix サモンブレーカー, 聖騎士ジャンヌ

parent 4eab5c50
...@@ -44,7 +44,10 @@ function c18114794.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,10 @@ function c18114794.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
local p1=false local p1=false
while tc do while tc do
if tc:IsSummonPlayer(turnp) then p1=true end if tc:IsSummonPlayer(turnp) then
p1=true
break
end
tc=eg:GetNext() tc=eg:GetNext()
end end
if p1 then if p1 then
......
...@@ -40,7 +40,7 @@ function c18426196.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -40,7 +40,7 @@ function c18426196.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c18426196.thop(e,tp,eg,ep,ev,re,r,rp) function c18426196.thop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then if tc and tc:IsRelateToEffect(e) and tc:IsRace(RACE_WARRIOR) then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
end end
......
...@@ -24,7 +24,7 @@ function c72022087.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -24,7 +24,7 @@ function c72022087.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c72022087.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c72022087.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c72022087.filter,tp,LOCATION_MZONE,LOCATION_MZONE,2,nil) end if chk==0 then return Duel.IsExistingTarget(c72022087.filter,tp,LOCATION_MZONE,LOCATION_MZONE,2,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectTarget(tp, c72022087.filter,tp,LOCATION_MZONE,LOCATION_MZONE,2,2,nil) local g=Duel.SelectTarget(tp,c72022087.filter,tp,LOCATION_MZONE,LOCATION_MZONE,2,2,nil)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,2,0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,2,0,0)
end end
function c72022087.acfilter(c,e) function c72022087.acfilter(c,e)
......
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