Commit 1043c0e7 authored by GuGu's avatar GuGu

Update c20100227.lua

parent 3693261e
Pipeline #33810 passed with stage
in 12 seconds
......@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,m+1)
e2:SetCountLimit(1,EFFECT_COUNT_CODE_OATH|m+1)
e2:SetCondition(cm.spcon)
e2:SetOperation(cm.spop)
c:RegisterEffect(e2)
......@@ -30,7 +30,7 @@ function cm.initial_effect(c)
e3:SetCode(EFFECT_SPSUMMON_PROC)
e3:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e3:SetRange(LOCATION_EXTRA)
e3:SetCountLimit(1,m+1)
e3:SetCountLimit(1,EFFECT_COUNT_CODE_OATH|m+1)
e3:SetCondition(cm.spcon2)
e3:SetOperation(cm.spop2)
c:RegisterEffect(e3)
......@@ -69,7 +69,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g2=rg:Select(tp,1,1,g:GetFirst())
g:Merge(g2)
end
Duel.Release(g,REASON_COST)
Duel.Release(g,REASON_SPSUMMON)
end
function cm.spfilter(c)
......@@ -95,5 +95,5 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g2=g:FilterSelect(tp,cm.spfilter2,1,1,mc,tp,mc)
g1:Merge(g2)
Duel.Release(g1,REASON_COST)
Duel.Release(g1,REASON_SPSUMMON)
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