Commit 8e81c660 authored by Amiya's avatar Amiya

修复

parent f5b48b74
Pipeline #30696 passed with stages
in 1 minute and 49 seconds
......@@ -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)
end
end
if e:IsHasType(EFFECT_TYPE_ACTIVATE) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
......@@ -61,6 +62,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetTarget(s.splimit(tc:GetOriginalRace()))
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
end
function s.splimit(race)
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