Commit a61a347f authored by salix5's avatar salix5

fix 堕天使スペルビア, 呪符竜

parent 4cb92944
...@@ -16,7 +16,7 @@ function c11260714.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -16,7 +16,7 @@ function c11260714.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_GRAVE) return e:GetHandler():IsPreviousLocation(LOCATION_GRAVE)
end end
function c11260714.filter(c,e,sp) function c11260714.filter(c,e,sp)
return c:IsRace(RACE_FAIRY) and c:GetCode()~=11260714 and c:IsCanBeSpecialSummoned(e,0,sp,false,false) return c:IsRace(RACE_FAIRY) and not c:IsCode(11260714) and c:IsCanBeSpecialSummoned(e,0,sp,false,false)
end end
function c11260714.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c11260714.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c11260714.filter(chkc,e,tp) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c11260714.filter(chkc,e,tp) end
...@@ -28,7 +28,7 @@ function c11260714.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -28,7 +28,7 @@ function c11260714.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c11260714.spop(e,tp,eg,ep,ev,re,r,rp) function c11260714.spop(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_FAIRY) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end end
end end
...@@ -70,7 +70,7 @@ function c75380687.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -70,7 +70,7 @@ function c75380687.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c75380687.spop(e,tp,eg,ep,ev,re,r,rp) function c75380687.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) tc:IsRace(RACE_SPELLCASTER) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end end
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