Commit 965b4741 authored by salix5's avatar salix5

fix そのoo族モンスターを特殊召喚する。

parent a1645538
......@@ -35,7 +35,7 @@ function c13361027.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c13361027.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc:IsRelateToEffect(e) and tc:IsRace(RACE_WINDBEAST) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
......@@ -50,8 +50,7 @@ end
function c23869735.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e)
and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
if tc:IsRelateToEffect(e) and tc:IsRace(RACE_DINOSAUR) and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
c:SetCardTarget(tc)
end
Duel.SpecialSummonComplete()
......
......@@ -23,7 +23,7 @@ function c30608985.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c30608985.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
if tc and tc:IsRelateToEffect(e) and tc:IsRace(RACE_SPELLCASTER) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
......@@ -45,7 +45,7 @@ function c48964966.initial_effect(c)
c:RegisterEffect(e4)
end
function c48964966.filter1(c,ft)
return c:IsFaceup() and c:IsRace(RACE_FAIRY) and c:GetCode()~=48964966 and c:IsAbleToGraveAsCost()
return c:IsFaceup() and c:IsRace(RACE_FAIRY) and not c:IsCode(48964966) and c:IsAbleToGraveAsCost()
and (ft>0 or c:GetSequence()<5)
end
function c48964966.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -56,7 +56,7 @@ function c48964966.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(g,REASON_COST)
end
function c48964966.filter2(c,e,sp)
return c:IsRace(RACE_FAIRY) and c:GetCode()~=48964966 and c:IsCanBeSpecialSummoned(e,0,sp,false,false)
return c:IsRace(RACE_FAIRY) and not c:IsCode(48964966) and c:IsCanBeSpecialSummoned(e,0,sp,false,false)
end
function c48964966.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c48964966.filter2(chkc,e,tp) end
......@@ -67,7 +67,7 @@ function c48964966.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c48964966.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
if tc and tc:IsRelateToEffect(e) and tc:IsRace(RACE_FAIRY) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
......
......@@ -32,7 +32,7 @@ function c64662453.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
if tc:IsRelateToEffect(e) and tc:IsRace(RACE_MACHINE) and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
......
......@@ -58,7 +58,7 @@ function c77135531.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c77135531.spop(e,tp,eg,ep,ev,re,r,rp,chk)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
if tc and tc:IsRelateToEffect(e) and tc:IsRace(RACE_DRAGON) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
......@@ -28,7 +28,7 @@ function c83903521.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c83903521.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc:IsRelateToEffect(e) and tc:IsRace(RACE_ZOMBIE) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
......@@ -21,7 +21,7 @@ function c99348756.initial_effect(c)
c:RegisterEffect(e2)
end
function c99348756.atktg(e,c)
return c:GetCode()~=99348756 and c:IsFaceup() and c:IsRace(RACE_WARRIOR)
return not c:IsCode(99348756) and c:IsFaceup() and c:IsRace(RACE_WARRIOR)
end
function c99348756.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and e:GetHandler():IsReason(REASON_BATTLE)
......@@ -50,7 +50,7 @@ function c99348756.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c99348756.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc:IsRelateToEffect(e) and tc:IsRace(RACE_WARRIOR) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
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