Commit 8dcebc73 authored by wind2009's avatar wind2009

Fix 円喚妖精キクロス

对方的同调怪兽特殊召唤应该也能特殊召唤
离场应该除外
parent 5e19fbe5
...@@ -50,7 +50,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,7 +50,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.cfilter(c,tp,se) function s.cfilter(c,tp,se)
return c:IsRace(RACE_PLANT+RACE_INSECT) and c:IsType(TYPE_SYNCHRO) return c:IsRace(RACE_PLANT+RACE_INSECT) and c:IsType(TYPE_SYNCHRO)
and (se==nil or c:GetReasonEffect()~=se) and c:IsControler(tp) and (se==nil or c:GetReasonEffect()~=se)
end end
function s.spcon(e,tp,eg,ep,ev,re,r,rp) function s.spcon(e,tp,eg,ep,ev,re,r,rp)
local se=e:GetLabelObject():GetLabelObject() local se=e:GetLabelObject():GetLabelObject()
...@@ -63,7 +63,13 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -63,7 +63,13 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e1,true)
end end
end end
\ No newline at end of file
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