Commit 8566c95b authored by DailyShana's avatar DailyShana

update count limit of special summon proc

終焉龍 カオス・エンペラー
ゴッドアイズ・ファントム・ドラゴン
alter xyz proc
parent 0155bdca
...@@ -42,7 +42,7 @@ function c10443957.ovfilter(c) ...@@ -42,7 +42,7 @@ function c10443957.ovfilter(c)
end end
function c10443957.xyzop(e,tp,chk) function c10443957.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,10443957)==0 end if chk==0 then return Duel.GetFlagEffect(tp,10443957)==0 end
Duel.RegisterFlagEffect(tp,10443957,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,10443957,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c10443957.atkval(e,c) function c10443957.atkval(e,c)
return c:GetOverlayCount()*200 return c:GetOverlayCount()*200
......
...@@ -32,7 +32,7 @@ function c11510448.ovfilter(c) ...@@ -32,7 +32,7 @@ function c11510448.ovfilter(c)
end end
function c11510448.xyzop(e,tp,chk) function c11510448.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,11510448)==0 end if chk==0 then return Duel.GetFlagEffect(tp,11510448)==0 end
Duel.RegisterFlagEffect(tp,11510448,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,11510448,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c11510448.atkfilter(c) function c11510448.atkfilter(c)
return c:IsSetCard(0xf1) and c:GetAttack()>=0 return c:IsSetCard(0xf1) and c:GetAttack()>=0
......
...@@ -42,7 +42,7 @@ function c14970113.ovfilter(c) ...@@ -42,7 +42,7 @@ function c14970113.ovfilter(c)
end end
function c14970113.xyzop(e,tp,chk) function c14970113.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,14970113)==0 end if chk==0 then return Duel.GetFlagEffect(tp,14970113)==0 end
Duel.RegisterFlagEffect(tp,14970113,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,14970113,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c14970113.atkfilter(c) function c14970113.atkfilter(c)
return c:IsSetCard(0xf1) and c:GetAttack()>=0 return c:IsSetCard(0xf1) and c:GetAttack()>=0
......
...@@ -25,7 +25,7 @@ function c26096328.ovfilter(c) ...@@ -25,7 +25,7 @@ function c26096328.ovfilter(c)
end end
function c26096328.xyzop(e,tp,chk) function c26096328.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,26096328)==0 end if chk==0 then return Duel.GetFlagEffect(tp,26096328)==0 end
Duel.RegisterFlagEffect(tp,26096328,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,26096328,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c26096328.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) function c26096328.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
...@@ -33,7 +33,7 @@ function c39317553.ovfilter(c) ...@@ -33,7 +33,7 @@ function c39317553.ovfilter(c)
end end
function c39317553.xyzop(e,tp,chk) function c39317553.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,39317553)==0 end if chk==0 then return Duel.GetFlagEffect(tp,39317553)==0 end
Duel.RegisterFlagEffect(tp,39317553,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,39317553,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c39317553.xyzcon(e) function c39317553.xyzcon(e)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -33,7 +33,7 @@ function c41375811.ovfilter(c) ...@@ -33,7 +33,7 @@ function c41375811.ovfilter(c)
end end
function c41375811.xyzop(e,tp,chk) function c41375811.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,41375811)==0 end if chk==0 then return Duel.GetFlagEffect(tp,41375811)==0 end
Duel.RegisterFlagEffect(tp,41375811,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,41375811,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c41375811.atkfilter(c) function c41375811.atkfilter(c)
return c:IsSetCard(0xf1) and c:GetAttack()>=0 return c:IsSetCard(0xf1) and c:GetAttack()>=0
......
...@@ -25,7 +25,7 @@ function c4538826.initial_effect(c) ...@@ -25,7 +25,7 @@ function c4538826.initial_effect(c)
e3:SetType(EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_SPSUMMON_PROC) e3:SetCode(EFFECT_SPSUMMON_PROC)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e3:SetCountLimit(1,4538827) e3:SetCountLimit(1,4538827+EFFECT_COUNT_CODE_OATH)
e3:SetRange(LOCATION_EXTRA+LOCATION_HAND) e3:SetRange(LOCATION_EXTRA+LOCATION_HAND)
e3:SetCondition(c4538826.spcon) e3:SetCondition(c4538826.spcon)
e3:SetOperation(c4538826.spop) e3:SetOperation(c4538826.spop)
......
...@@ -35,7 +35,7 @@ function c48905153.ovfilter(c) ...@@ -35,7 +35,7 @@ function c48905153.ovfilter(c)
end end
function c48905153.xyzop(e,tp,chk) function c48905153.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,48905153)==0 end if chk==0 then return Duel.GetFlagEffect(tp,48905153)==0 end
Duel.RegisterFlagEffect(tp,48905153,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,48905153,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c48905153.atkfilter(c) function c48905153.atkfilter(c)
return c:IsSetCard(0xf1) and c:GetAttack()>=0 return c:IsSetCard(0xf1) and c:GetAttack()>=0
......
...@@ -25,7 +25,7 @@ function c70335319.initial_effect(c) ...@@ -25,7 +25,7 @@ function c70335319.initial_effect(c)
e3:SetCode(EFFECT_SPSUMMON_PROC) e3:SetCode(EFFECT_SPSUMMON_PROC)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e3:SetRange(LOCATION_HAND) e3:SetRange(LOCATION_HAND)
e3:SetCountLimit(1,70335319) e3:SetCountLimit(1,70335319+EFFECT_COUNT_CODE_OATH)
e3:SetCondition(c70335319.hspcon) e3:SetCondition(c70335319.hspcon)
e3:SetOperation(c70335319.hspop) e3:SetOperation(c70335319.hspop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
......
...@@ -36,7 +36,7 @@ function c74393852.ovfilter(c) ...@@ -36,7 +36,7 @@ function c74393852.ovfilter(c)
end end
function c74393852.xyzop(e,tp,chk) function c74393852.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,74393852)==0 end if chk==0 then return Duel.GetFlagEffect(tp,74393852)==0 end
Duel.RegisterFlagEffect(tp,74393852,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,74393852,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c74393852.atkfilter(c) function c74393852.atkfilter(c)
return c:IsSetCard(0xf1) and c:GetAttack()>=0 return c:IsSetCard(0xf1) and c:GetAttack()>=0
......
...@@ -21,7 +21,7 @@ function c78144171.ovfilter(c) ...@@ -21,7 +21,7 @@ function c78144171.ovfilter(c)
end end
function c78144171.xyzop(e,tp,chk) function c78144171.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,78144171)==0 end if chk==0 then return Duel.GetFlagEffect(tp,78144171)==0 end
Duel.RegisterFlagEffect(tp,78144171,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,78144171,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c78144171.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c78144171.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
...@@ -32,7 +32,7 @@ function c85115440.ovfilter(c) ...@@ -32,7 +32,7 @@ function c85115440.ovfilter(c)
end end
function c85115440.xyzop(e,tp,chk) function c85115440.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,85115440)==0 end if chk==0 then return Duel.GetFlagEffect(tp,85115440)==0 end
Duel.RegisterFlagEffect(tp,85115440,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,85115440,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c85115440.atkfilter(c) function c85115440.atkfilter(c)
return c:IsSetCard(0xf1) and c:GetAttack()>=0 return c:IsSetCard(0xf1) and c:GetAttack()>=0
......
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