Commit d8f05745 authored by Amiya's avatar Amiya

修复

parent 84cb78ea
Pipeline #40180 passed with stages
in 2 minutes and 56 seconds
...@@ -66,4 +66,15 @@ function s.spsop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,4 +66,15 @@ function s.spsop(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e3) tc:RegisterEffect(e3)
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetTargetRange(1,0)
e4:SetTarget(s.splimit)
e4:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e4,tp)
end
function s.splimit(e,c)
return not c:IsAttribute(ATTRIBUTE_DARK) and c:IsLocation(LOCATION_EXTRA)
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