Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions c10239627.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ function c10239627.initial_effect(c)
e6:SetValue(c10239627.atkval)
c:RegisterEffect(e6)
end
c10239627.mentioned_counter={
[0x1]=true,
}
function c10239627.acop(e,tp,eg,ep,ev,re,r,rp)
if re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_SPELL) and e:GetHandler():GetFlagEffect(FLAG_ID_CHAINING)>0 then
e:GetHandler():AddCounter(0x1,1)
Expand Down
3 changes: 3 additions & 0 deletions c11163040.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ function c11163040.initial_effect(c)
e4:SetOperation(c11163040.thop)
c:RegisterEffect(e4)
end
c11163040.mentioned_counter={
[0x37]=true,
}
function c11163040.cfilter(c)
return c:IsSetCard(0xd3) and c:IsPreviousLocation(LOCATION_HAND+LOCATION_GRAVE)
end
Expand Down
3 changes: 3 additions & 0 deletions c1118137.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ function c1118137.initial_effect(c)
e6:SetValue(1)
c:RegisterEffect(e6)
end
c1118137.mentioned_counter={
[0x1]=true,
}
function c1118137.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Expand Down
3 changes: 3 additions & 0 deletions c11741041.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ function c11741041.initial_effect(c)
e3:SetOperation(c11741041.desop)
c:RegisterEffect(e3)
end
c11741041.mentioned_counter={
[0xc]=true,
}
function c11741041.ctop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetAttacker():IsControler(tp) then
e:GetHandler():AddCounter(0xc,1)
Expand Down
3 changes: 3 additions & 0 deletions c13235258.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ function c13235258.initial_effect(c)
e8:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e8)
end
c13235258.mentioned_counter={
[0x1045]=true,
}
function c13235258.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local c=e:GetHandler()
Expand Down
3 changes: 3 additions & 0 deletions c1340142.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ function s.initial_effect(c)
e3:SetOperation(s.disop)
c:RegisterEffect(e3)
end
s.mentioned_counter={
[0x6a]=true,
}
function s.lfilter(c)
return c:IsLinkType(TYPE_LINK) and c:IsLinkSetCard(0x1a3)
end
Expand Down
3 changes: 3 additions & 0 deletions c13474291.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ function c13474291.initial_effect(c)
e4:SetOperation(c13474291.ctop)
c:RegisterEffect(e4)
end
c13474291.mentioned_counter={
[0x1019]=true,
}
function c13474291.sdcon(e)
return e:GetHandler():IsPosition(POS_FACEUP_DEFENSE)
end
Expand Down
3 changes: 3 additions & 0 deletions c13478040.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ function c13478040.initial_effect(c)
e2:SetOperation(c13478040.desop)
c:RegisterEffect(e2)
end
c13478040.mentioned_counter={
[0x17]=true,
}
function c13478040.cfilter(c,tp)
return c:IsSummonPlayer(tp)
end
Expand Down
3 changes: 3 additions & 0 deletions c14306092.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ function c14306092.initial_effect(c)
e2:SetValue(c14306092.atkval)
c:RegisterEffect(e2)
end
c14306092.mentioned_counter={
[0x2e]=true,
}
function c14306092.ctcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
Expand Down
3 changes: 3 additions & 0 deletions c14553285.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ function c14553285.initial_effect(c)
c:RegisterEffect(e5)
end
c14553285.assault_name=31924889
c14553285.mentioned_counter={
[0x1]=true,
}
function c14553285.addct(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,2,0,0x1)
Expand Down
3 changes: 3 additions & 0 deletions c14556954.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ function s.initial_effect(c)
e4:SetOperation(s.disop)
c:RegisterEffect(e4)
end
s.mentioned_counter={
[0x75]=true,
}
function s.sumcon(e,c,minc)
if c==nil then return true end
local min=1
Expand Down
3 changes: 3 additions & 0 deletions c1487805.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ function c1487805.initial_effect(c)
e4:SetValue(1)
c:RegisterEffect(e4)
end
c1487805.mentioned_counter={
[0x100e]=true,
}
function c1487805.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
Expand Down
3 changes: 3 additions & 0 deletions c14957440.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ function c14957440.initial_effect(c)
e2:SetOperation(c14957440.tkop)
c:RegisterEffect(e2)
end
c14957440.mentioned_counter={
[0x59]=true,
}
function c14957440.atkfilter(c)
return c:IsFacedown() or c:IsFaceup() and not c:IsType(TYPE_TUNER)
end
Expand Down
3 changes: 3 additions & 0 deletions c14972952.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ function s.initial_effect(c)
e2:SetOperation(s.tdop)
c:RegisterEffect(e2)
end
s.mentioned_counter={
[0x6a]=true,
}
function s.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x1a3) and c:IsType(TYPE_LINK)
end
Expand Down
3 changes: 3 additions & 0 deletions c15475415.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ function c15475415.initial_effect(c)
c:RegisterEffect(e2)
end
c15475415.counter_add_list={0x100e}
c15475415.mentioned_counter={
[0x100e]=true,
}
function c15475415.spcon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and eg:GetFirst():IsSetCard(0xc)
end
Expand Down
3 changes: 3 additions & 0 deletions c15610297.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ function c15610297.initial_effect(c)
e3:SetOperation(c15610297.spop)
c:RegisterEffect(e3)
end
c15610297.mentioned_counter={
[0x1038]=true,
}
function c15610297.distg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local bc=c:GetBattleTarget()
Expand Down
3 changes: 3 additions & 0 deletions c15893860.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ function c15893860.initial_effect(c)
e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c15893860.mentioned_counter={
[0x1015]=true,
}
function c15893860.ctfilter(c)
return c:IsFaceup() and c:IsAttribute(ATTRIBUTE_WATER)
end
Expand Down
3 changes: 3 additions & 0 deletions c16197610.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ function c16197610.initial_effect(c)
e4:SetOperation(c16197610.spop)
c:RegisterEffect(e4)
end
c16197610.mentioned_counter={
[0x1019]=true,
}
function c16197610.sdcon(e)
return e:GetHandler():IsPosition(POS_FACEUP_DEFENSE)
end
Expand Down
4 changes: 4 additions & 0 deletions c17465972.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ function c17465972.initial_effect(c)
e4:SetOperation(c17465972.ctop2)
c:RegisterEffect(e4)
end
c17465972.mentioned_counter={
[0x10]=true,
[0x1002]=true,
}
function c17465972.filter(c,e,tp)
return c:IsFaceup() and c:IsLevelBelow(4) and c:IsSetCard(0x33) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
Expand Down
3 changes: 3 additions & 0 deletions c17601919.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ function c17601919.initial_effect(c)
e1:SetOperation(c17601919.repop)
c:RegisterEffect(e1)
end
c17601919.mentioned_counter={
[0x2f]=true,
}
function c17601919.repcon(e)
local c=e:GetHandler()
return c:IsFaceup() and c:IsLocation(LOCATION_MZONE) and c:IsReason(REASON_DESTROY)
Expand Down
3 changes: 3 additions & 0 deletions c17621695.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ function s.initial_effect(c)
e4:SetOperation(s.damop)
c:RegisterEffect(e4)
end
s.mentioned_counter={
[0x71]=true,
}
function s.thfilter(c)
return c:IsFaceup() and c:IsSetCard(0x1d4) and c:GetOriginalType()&TYPE_PENDULUM~=0
end
Expand Down
3 changes: 3 additions & 0 deletions c17810268.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ function c17810268.initial_effect(c)
e4:SetOperation(c17810268.desop)
c:RegisterEffect(e4)
end
c17810268.mentioned_counter={
[0x1019]=true,
}
function c17810268.sdcon(e)
return e:GetHandler():IsPosition(POS_FACEUP_DEFENSE)
end
Expand Down
3 changes: 3 additions & 0 deletions c17825378.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ function c17825378.initial_effect(c)
e2:SetOperation(c17825378.ctop)
c:RegisterEffect(e2)
end
c17825378.mentioned_counter={
[0x1041]=true,
}
function c17825378.mtval(e,c)
if not c then return true end
return true --c:IsAttribute(ATTRIBUTE_DARK)
Expand Down
3 changes: 3 additions & 0 deletions c17896384.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ function c17896384.initial_effect(c)
e3:SetOperation(c17896384.drop)
c:RegisterEffect(e3)
end
c17896384.mentioned_counter={
[0x1]=true,
}
function c17896384.ctfilter(c)
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP) and bit.band(c:GetPreviousRaceOnField(),RACE_SPELLCASTER)~=0
end
Expand Down
3 changes: 3 additions & 0 deletions c19980975.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ function c19980975.initial_effect(c)
e1:SetOperation(c19980975.activate)
c:RegisterEffect(e1)
end
c19980975.mentioned_counter={
[0x1019]=true,
}
function c19980975.filter(c)
return c:GetCounter(0x1019)>=4
end
Expand Down
3 changes: 3 additions & 0 deletions c20003527.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ function c20003527.initial_effect(c)
e6:SetValue(c20003527.atkval)
c:RegisterEffect(e6)
end
c20003527.mentioned_counter={
[0x1019]=true,
}
function c20003527.sdcon(e)
return e:GetHandler():IsPosition(POS_FACEUP_DEFENSE)
end
Expand Down
3 changes: 3 additions & 0 deletions c20630765.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ function c20630765.initial_effect(c)
e3:SetOperation(c20630765.rmop)
c:RegisterEffect(e3)
end
c20630765.mentioned_counter={
[0x16]=true,
}
function c20630765.ctop(e,tp,eg,ep,ev,re,r,rp)
local c=re:GetHandler()
if re:IsActiveType(TYPE_MONSTER) and c~=e:GetHandler() and e:GetHandler():GetFlagEffect(FLAG_ID_CHAINING)>0 then
Expand Down
3 changes: 3 additions & 0 deletions c20985997.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ function c20985997.initial_effect(c)
e1:SetOperation(c20985997.activate)
c:RegisterEffect(e1)
end
c20985997.mentioned_counter={
[0x100e]=true,
}
function c20985997.filter(c)
return c:GetCounter(0x100e)>0
end
Expand Down
3 changes: 3 additions & 0 deletions c21051146.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ function c21051146.initial_effect(c)
e2:SetOperation(c21051146.desop)
c:RegisterEffect(e2)
end
c21051146.mentioned_counter={
[0x1]=true,
}
function c21051146.acop(e,tp,eg,ep,ev,re,r,rp)
if re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_SPELL) and e:GetHandler():GetFlagEffect(FLAG_ID_CHAINING)>0 then
e:GetHandler():AddCounter(0x1,1)
Expand Down
3 changes: 3 additions & 0 deletions c21113684.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ function c21113684.initial_effect(c)
c:RegisterEffect(e6)
end
c21113684.material_type=TYPE_SYNCHRO
c21113684.mentioned_counter={
[0x1]=true,
}
function c21113684.splimit(e,se,sp,st)
if e:GetHandler():IsLocation(LOCATION_EXTRA) then
return bit.band(st,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION
Expand Down
3 changes: 3 additions & 0 deletions c21768554.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ function c21768554.initial_effect(c)
e3:SetValue(c21768554.ctval)
c:RegisterEffect(e3)
end
c21768554.mentioned_counter={
[0x100e]=true,
}
function c21768554.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0xc)
end
Expand Down
3 changes: 3 additions & 0 deletions c21984400.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ function c21984400.initial_effect(c)
e3:SetOperation(c21984400.spop2)
c:RegisterEffect(e3)
end
c21984400.mentioned_counter={
[0x1]=true,
}
function c21984400.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=e:GetLabel()
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,0,0x1,ct,REASON_COST) end
Expand Down
3 changes: 3 additions & 0 deletions c22011689.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ function c22011689.initial_effect(c)
e3:SetOperation(c22011689.operation)
c:RegisterEffect(e3)
end
c22011689.mentioned_counter={
[0x1041]=true,
}
function c22011689.atkval(e,c)
return Duel.GetCounter(0,1,1,0x1041)*200
end
Expand Down
3 changes: 3 additions & 0 deletions c22070401.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ function c22070401.initial_effect(c)
e6:SetOperation(c22070401.penop)
c:RegisterEffect(e6)
end
c22070401.mentioned_counter={
[0x104f]=true,
}
function c22070401.ffilter(c)
return c:IsFusionAttribute(ATTRIBUTE_DARK) and c:IsFusionType(TYPE_PENDULUM)
end
Expand Down
3 changes: 3 additions & 0 deletions c22138839.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ function c22138839.initial_effect(c)
e2:SetOperation(c22138839.cop)
c:RegisterEffect(e2)
end
c22138839.mentioned_counter={
[0x1041]=true,
}
function c22138839.rfilter(c)
return c:GetCounter(0x1041)>0 and c:IsReleasable(REASON_SPSUMMON)
end
Expand Down
3 changes: 3 additions & 0 deletions c22923081.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ function c22923081.initial_effect(c)
e4:SetOperation(c22923081.desop)
c:RegisterEffect(e4)
end
c22923081.mentioned_counter={
[0x1]=true,
}
function c22923081.addtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,e:GetLabel(),0,0x1)
Expand Down
3 changes: 3 additions & 0 deletions c23212990.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ function c23212990.initial_effect(c)
e1:SetOperation(c23212990.activate)
c:RegisterEffect(e1)
end
c23212990.mentioned_counter={
[0x3]=true,
}
function c23212990.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,0,0x3,1,REASON_COST) end
Duel.RemoveCounter(tp,1,0,0x3,1,REASON_COST)
Expand Down
3 changes: 3 additions & 0 deletions c23639291.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ function c23639291.initial_effect(c)
e1:SetOperation(c23639291.operation)
c:RegisterEffect(e1)
end
c23639291.mentioned_counter={
[0x1019]=true,
}
function c23639291.condition(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
return eg:GetCount()==1 and tc:IsControler(tp) and tc:IsPreviousControler(tp) and tc:IsReason(REASON_DESTROY)
Expand Down
3 changes: 3 additions & 0 deletions c23740893.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ function c23740893.initial_effect(c)
e2:SetOperation(c23740893.sumop)
c:RegisterEffect(e2)
end
c23740893.mentioned_counter={
[0x33]=true,
}
function c23740893.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
Expand Down
Loading