Commit 3693261e authored by GuGu's avatar GuGu

Update c20100225.lua

parent 9ffd1382
Pipeline #33809 passed with stage
in 19 seconds
......@@ -22,7 +22,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)
......@@ -32,7 +32,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)
......@@ -96,7 +96,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)
......@@ -122,5 +122,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