Commit 79b6b2c5 authored by mercury233's avatar mercury233

update A-Counter add list

parent 4ed340d3
......@@ -21,6 +21,7 @@ function c15475415.initial_effect(c)
e2:SetOperation(c15475415.ctop)
c:RegisterEffect(e2)
end
c15475415.counter_add_list={0x100e}
function c15475415.spcon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and eg:GetFirst():IsSetCard(0xc)
end
......
......@@ -10,6 +10,7 @@ function c2561846.initial_effect(c)
e1:SetOperation(c2561846.operation)
c:RegisterEffect(e1)
end
c2561846.counter_add_list={0x100e}
function c2561846.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and chkc:IsCanAddCounter(0x100e,1) end
if chk==0 then return Duel.IsExistingTarget(Card.IsCanAddCounter,tp,0,LOCATION_MZONE,1,nil,0x100e,1) end
......
......@@ -34,6 +34,7 @@ function c25920413.initial_effect(c)
e4:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e4)
end
c25920413.counter_add_list={0x100e}
function c25920413.spfilter(c)
return c:IsLevelBelow(3) and c:IsFaceup() and c:IsReleasable()
end
......
......@@ -18,6 +18,7 @@ function c34541863.initial_effect(c)
e2:SetOperation(c34541863.operation)
c:RegisterEffect(e2)
end
c34541863.counter_add_list={0x100e}
function c34541863.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
end
......
......@@ -11,6 +11,7 @@ function c39163598.initial_effect(c)
e1:SetOperation(c39163598.activate)
c:RegisterEffect(e1)
end
c39163598.counter_add_list={0x100e}
function c39163598.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0xc) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0xc)
......
......@@ -35,6 +35,7 @@ function c51192573.initial_effect(c)
e4:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e4)
end
c51192573.counter_add_list={0x100e}
function c51192573.otfilter(c,tp)
return c:GetOwner()==tp
end
......
......@@ -39,6 +39,7 @@ function c62437709.initial_effect(c)
e5:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e5)
end
c62437709.counter_add_list={0x100e}
function c62437709.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsFaceup() end
if chk==0 then return true end
......
......@@ -34,6 +34,7 @@ function c63253763.initial_effect(c)
e4:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e4)
end
c63253763.counter_add_list={0x100e}
function c63253763.spcon(e,c)
if c==nil then return true end
return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
......
......@@ -21,6 +21,7 @@ function c64160836.initial_effect(c)
e3:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e3)
end
c64160836.counter_add_list={0x100e}
function c64160836.ctop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
while tc do
......
......@@ -28,6 +28,7 @@ function c64163367.initial_effect(c)
e3:SetLabelObject(e0)
c:RegisterEffect(e3)
end
c64163367.counter_add_list={0x100e}
function c64163367.ctop1(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():AddCounter(0x100e,1)
end
......
......@@ -28,6 +28,7 @@ function c68319538.initial_effect(c)
e2:SetOperation(c68319538.desop)
c:RegisterEffect(e2)
end
c68319538.counter_add_list={0x100e}
function c68319538.filter(c)
return c:IsFaceup() and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand()
end
......
......@@ -10,6 +10,7 @@ function c73262676.initial_effect(c)
e1:SetOperation(c73262676.operation)
c:RegisterEffect(e1)
end
c73262676.counter_add_list={0x100e}
function c73262676.filter(c)
return c:IsFaceup() and c:IsSetCard(0xc) and c:GetLevel()>0
end
......
......@@ -29,6 +29,7 @@ function c74974229.initial_effect(c)
e2:SetOperation(c74974229.spop)
c:RegisterEffect(e2)
end
c74974229.counter_add_list={0x100e}
function c74974229.costfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsLevelAbove(1) and c:IsDiscardable()
end
......
......@@ -21,6 +21,7 @@ function c91231901.initial_effect(c)
e2:SetOperation(c91231901.thop)
c:RegisterEffect(e2)
end
c91231901.counter_add_list={0x100e}
function c91231901.filter(c)
return c:GetLevel()>0 and c:IsSetCard(0xc) and c:IsAbleToGrave()
end
......
......@@ -23,6 +23,7 @@ function c98719226.initial_effect(c)
e3:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e3)
end
c98719226.counter_add_list={0x100e}
function c98719226.ctcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and e:GetHandler():IsReason(REASON_BATTLE)
end
......
......@@ -25,6 +25,7 @@ function c99342953.initial_effect(c)
e3:SetOperation(c99342953.spop)
c:RegisterEffect(e3)
end
c99342953.counter_add_list={0x100e}
function c99342953.ctfilter(c)
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousSetCard(0xc)
end
......
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