Commit 2dab60af authored by HidarimeYume's avatar HidarimeYume Committed by mercury233

Fixed once per duel limit (#1012)

parent ce148bd5
......@@ -5,7 +5,7 @@ function c17484499.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_DRAW_PHASE)
e1:SetCountLimit(1,17484499+EFFECT_COUNT_CODE_DUEL)
e1:SetCountLimit(1,17484499+EFFECT_COUNT_CODE_DUEL+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c17484499.condition)
e1:SetCost(c17484499.cost)
e1:SetOperation(c17484499.activate)
......
......@@ -4,8 +4,8 @@ function c48179391.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCountLimit(1,48179391+EFFECT_COUNT_CODE_DUEL+EFFECT_COUNT_CODE_OATH)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c48179391.actcost)
e1:SetTarget(c48179391.acttg)
e1:SetOperation(c48179391.actop)
c:RegisterEffect(e1)
......@@ -45,10 +45,6 @@ function c48179391.initial_effect(c)
e5:SetValue(c48179391.atlimit)
c:RegisterEffect(e5)
end
function c48179391.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,48179391)==0 end
Duel.RegisterFlagEffect(tp,48179391,0,0,0)
end
function c48179391.desfilter(c)
return c:IsSummonType(SUMMON_TYPE_SPECIAL)
end
......
......@@ -6,7 +6,7 @@ function c86607583.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_COUNTER+CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,86607583+EFFECT_COUNT_CODE_DUEL)
e1:SetCountLimit(1,86607583+EFFECT_COUNT_CODE_DUEL+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c86607583.cost)
e1:SetTarget(c86607583.target)
e1:SetOperation(c86607583.operation)
......
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