Commit 8e81c660 authored by Amiya's avatar Amiya

修复

parent f5b48b74
...@@ -53,6 +53,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,6 +53,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end end
end end
if e:IsHasType(EFFECT_TYPE_ACTIVATE) then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
...@@ -61,6 +62,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,6 +62,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetTarget(s.splimit(tc:GetOriginalRace())) e1:SetTarget(s.splimit(tc:GetOriginalRace()))
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end
end end
function s.splimit(race) function s.splimit(race)
return function(e,c) return function(e,c)
......
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