Commit a43abf9a authored by salix5's avatar salix5

update Duel.CheckReleaseGroup

parent 81935990
......@@ -88,7 +88,7 @@ function c10000000.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c10000000.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetAttackAnnouncedCount()==0 and Duel.CheckReleaseGroup(tp,nil,2,nil) end
if chk==0 then return e:GetHandler():GetAttackAnnouncedCount()==0 and Duel.CheckReleaseGroup(REASON_COST,tp,nil,2,nil) end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_OATH)
......
......@@ -38,7 +38,7 @@ function c10026986.otop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(sg,REASON_SUMMON+REASON_MATERIAL)
end
function c10026986.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c10026986.cfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c10026986.cfilter,1,nil,tp) end
local sg=Duel.SelectReleaseGroup(tp,c10026986.cfilter,1,1,nil,tp)
Duel.Release(sg,REASON_COST)
end
......
......@@ -40,7 +40,7 @@ function c1003840.spfilter(c,e,tp,lv)
end
function c1003840.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c1003840.cfilter,1,nil,e,tp,ft) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c1003840.cfilter,1,nil,e,tp,ft) end
local g=Duel.SelectReleaseGroup(tp,c1003840.cfilter,1,1,nil,e,tp,ft)
e:SetLabel(g:GetFirst():GetLevel())
Duel.Release(g,REASON_COST)
......
......@@ -38,10 +38,10 @@ function c1041278.spfilter3(c,e,tp)
end
function c1041278.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(c1041278.spfilter0,tp,LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE+LOCATION_REMOVED,nil,e,tp)
local b1=Duel.CheckReleaseGroup(tp,c1041278.rfilter1,1,nil,tp)
local b1=Duel.CheckReleaseGroup(REASON_COST,tp,c1041278.rfilter1,1,nil,tp)
and Duel.GetLocationCount(1-tp,LOCATION_MZONE,tp)>0
and g:IsExists(c1041278.spfilter1,1,nil,e,tp,g)
local b2=Duel.CheckReleaseGroup(tp,c1041278.rfilter2,1,nil,tp)
local b2=Duel.CheckReleaseGroup(REASON_COST,tp,c1041278.rfilter2,1,nil,tp)
and g:IsExists(c1041278.spfilter3,2,nil,e,tp)
if chk==0 then return b1 or b2 end
local rfilter=c1041278.rfilter1
......
......@@ -31,7 +31,7 @@ function c10485110.initial_effect(c)
end
function c10485110.spcon(e,c)
if c==nil then return true end
return Duel.CheckReleaseGroup(c:GetControler(),Card.IsCode,1,nil,37721209)
return Duel.CheckReleaseGroup(REASON_COST,c:GetControler(),Card.IsCode,1,nil,37721209)
end
function c10485110.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(tp,Card.IsCode,1,1,nil,37721209)
......
......@@ -15,7 +15,7 @@ function c10759529.condition(e,tp,eg,ep,ev,re,r,rp)
return tp~=Duel.GetTurnPlayer()
end
function c10759529.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsCode,1,nil,32679370) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsCode,1,nil,32679370) end
local g=Duel.SelectReleaseGroup(tp,Card.IsCode,1,1,nil,32679370)
Duel.Release(g,REASON_COST)
end
......
......@@ -64,7 +64,7 @@ function c11167052.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
if e:GetLabel()~=100 then return false end
e:SetLabel(0)
return Duel.CheckReleaseGroup(tp,c11167052.filter1,1,nil,e,tp)
return Duel.CheckReleaseGroup(REASON_COST,tp,c11167052.filter1,1,nil,e,tp)
end
local rg=Duel.SelectReleaseGroup(tp,c11167052.filter1,1,1,nil,e,tp)
e:SetLabel(rg:GetFirst():GetOriginalAttribute())
......
......@@ -13,7 +13,7 @@ function c11384280.initial_effect(c)
c:RegisterEffect(e1)
end
function c11384280.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,nil,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,nil,1,nil) end
local sg=Duel.SelectReleaseGroup(tp,nil,1,1,nil)
Duel.Release(sg,REASON_COST)
end
......
......@@ -59,7 +59,7 @@ end
function c11443677.sprcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.CheckReleaseGroup(tp,c11443677.sprfilter,1,nil,tp,c)
return Duel.CheckReleaseGroup(REASON_COST,tp,c11443677.sprfilter,1,nil,tp,c)
end
function c11443677.sprop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
......
......@@ -50,7 +50,7 @@ function c11516241.rfilter(c,tp)
return c:IsSetCard(0xfc) and c:IsType(TYPE_LINK) and Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c)
end
function c11516241.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c11516241.rfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c11516241.rfilter,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectReleaseGroup(tp,c11516241.rfilter,1,1,nil,tp)
e:SetLabel(g:GetFirst():GetLink())
......
......@@ -24,7 +24,7 @@ function c11819616.costfilter(c)
return c:IsFaceup() and c:IsRace(RACE_PLANT) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c11819616.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c11819616.costfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c11819616.costfilter,1,nil) end
local sg=Duel.SelectReleaseGroup(tp,c11819616.costfilter,1,1,nil)
Duel.Release(sg,REASON_COST)
end
......
......@@ -13,7 +13,7 @@ function c11975962.initial_effect(c)
c:RegisterEffect(e1)
end
function c11975962.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x69) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,nil,0x69) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x69)
Duel.Release(g,REASON_COST)
end
......
......@@ -35,7 +35,7 @@ function c12255007.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttacker():IsControler(1-tp)
end
function c12255007.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x9f) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,nil,0x9f) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x9f)
Duel.Release(g,REASON_COST)
end
......
......@@ -40,7 +40,7 @@ function c12510878.initial_effect(c)
end
function c12510878.spcon(e,c)
if c==nil then return true end
return Duel.CheckReleaseGroup(c:GetControler(),Card.IsCode,1,nil,18036057)
return Duel.CheckReleaseGroup(REASON_COST,c:GetControler(),Card.IsCode,1,nil,18036057)
end
function c12510878.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(c:GetControler(),Card.IsCode,1,1,nil,18036057)
......
......@@ -27,7 +27,7 @@ function c13046291.costfilter(c,tp)
return c:IsRace(RACE_REPTILE) and (c:IsControler(tp) or c:IsFaceup()) and Duel.GetMZoneCount(tp,c)>0
end
function c13046291.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c13046291.costfilter,1,nil,tp)
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c13046291.costfilter,1,nil,tp)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c13046291.costfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
......
......@@ -54,7 +54,7 @@ end
function c13224603.hspcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.CheckReleaseGroup(tp,c13224603.hspfilter,1,nil,tp)
return Duel.CheckReleaseGroup(REASON_COST,tp,c13224603.hspfilter,1,nil,tp)
end
function c13224603.hspop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(tp,c13224603.hspfilter,1,1,nil,tp)
......
......@@ -56,7 +56,7 @@ function c132308.costfilter(c,tp)
and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711,tp) and c:IsControler(1-tp))
end
function c132308.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToDeckAsCost() and Duel.CheckReleaseGroup(tp,c132308.costfilter,1,nil,tp) end
if chk==0 then return e:GetHandler():IsAbleToDeckAsCost() and Duel.CheckReleaseGroup(REASON_COST,tp,c132308.costfilter,1,nil,tp) end
Duel.ConfirmCards(1-tp,e:GetHandler())
Duel.SendtoDeck(e:GetHandler(),nil,SEQ_DECKSHUFFLE,REASON_COST)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
......
......@@ -18,7 +18,7 @@ function c13361027.cfilter(c,tp)
and Duel.GetMZoneCount(tp,c)>0 and (c:IsControler(tp) or c:IsFaceup())
end
function c13361027.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c13361027.cfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c13361027.cfilter,1,nil,tp) end
local rg=Duel.SelectReleaseGroup(tp,c13361027.cfilter,1,1,nil,tp)
Duel.Release(rg,REASON_COST)
end
......
......@@ -25,7 +25,7 @@ function c13452889.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local zone={}
zone[0]=c:GetLinkedZone(0)
zone[1]=c:GetLinkedZone(1)
if chk==0 then return Duel.CheckReleaseGroup(tp,c13452889.cfilter,1,nil,tp,lg,zone) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c13452889.cfilter,1,nil,tp,lg,zone) end
local g=Duel.SelectReleaseGroup(tp,c13452889.cfilter,1,1,nil,tp,lg,zone)
Duel.Release(g,REASON_COST)
end
......
......@@ -21,7 +21,7 @@ function c13629812.initial_effect(c)
c:RegisterEffect(e2)
end
function c13629812.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x2b) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,nil,0x2b) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x2b)
Duel.Release(g,REASON_COST)
end
......
......@@ -15,7 +15,7 @@ function c13972452.cfilter(c)
return c:IsRace(RACE_SPELLCASTER) and c:IsAttribute(ATTRIBUTE_WIND)
end
function c13972452.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c13972452.cfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c13972452.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c13972452.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -20,7 +20,7 @@ end
function c14141448.spcon(e,c)
if c==nil then return true end
return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>-1
and Duel.CheckReleaseGroup(c:GetControler(),c14141448.rfilter,1,nil)
and Duel.CheckReleaseGroup(REASON_COST,c:GetControler(),c14141448.rfilter,1,nil)
end
function c14141448.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(c:GetControler(),c14141448.rfilter,1,1,nil)
......
......@@ -13,7 +13,7 @@ function c14702066.initial_effect(c)
c:RegisterEffect(e1)
end
function c14702066.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,nil,2,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,nil,2,nil) end
local sg=Duel.SelectReleaseGroup(tp,nil,2,2,nil)
Duel.Release(sg,REASON_COST)
end
......
......@@ -14,7 +14,7 @@ function c1474910.cfilter(c)
return c:IsFaceup() and c:IsRace(RACE_INSECT) and not c:IsCode(1474910)
end
function c1474910.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() and Duel.CheckReleaseGroup(tp,c1474910.cfilter,1,nil) end
if chk==0 then return e:GetHandler():IsReleasable() and Duel.CheckReleaseGroup(REASON_COST,tp,c1474910.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c1474910.cfilter,1,1,nil)
g:AddCard(e:GetHandler())
Duel.Release(g,REASON_COST)
......
......@@ -97,7 +97,7 @@ function c14799437.cfilter(c)
return not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c14799437.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c14799437.cfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c14799437.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c14799437.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -25,7 +25,7 @@ function c14882493.initial_effect(c)
c:RegisterEffect(e2)
end
function c14882493.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsAttribute,1,e:GetHandler(),ATTRIBUTE_DARK) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsAttribute,1,e:GetHandler(),ATTRIBUTE_DARK) end
local g=Duel.SelectReleaseGroup(tp,Card.IsAttribute,1,1,e:GetHandler(),ATTRIBUTE_DARK)
Duel.Release(g,REASON_COST)
end
......
......@@ -53,7 +53,7 @@ function c1508649.cfilter(c,g)
end
function c1508649.discost(e,tp,eg,ep,ev,re,r,rp,chk)
local lg=e:GetHandler():GetLinkedGroup()
if chk==0 then return Duel.CheckReleaseGroup(tp,c1508649.cfilter,1,nil,lg) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c1508649.cfilter,1,nil,lg) end
local g=Duel.SelectReleaseGroup(tp,c1508649.cfilter,1,1,nil,lg)
Duel.Release(g,REASON_COST)
end
......
......@@ -58,7 +58,7 @@ function c15180041.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c15180041.spfilter,1,nil,ft,tp)
return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c15180041.spfilter,1,nil,ft,tp)
end
function c15180041.spop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -54,7 +54,7 @@ function c15187079.cttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then
if e:GetLabel()==1 then
e:SetLabel(0)
return Duel.CheckReleaseGroup(tp,c15187079.costfilter,1,c,tp)
return Duel.CheckReleaseGroup(REASON_COST,tp,c15187079.costfilter,1,c,tp)
else
return Duel.IsExistingTarget(c15187079.filter,tp,0,LOCATION_MZONE,1,nil,false)
end
......
......@@ -50,7 +50,7 @@ function c15291624.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return (Duel.GetCustomActivityCount(15291624,tp,ACTIVITY_CHAIN)~=0 or Duel.GetCustomActivityCount(15291624,1-tp,ACTIVITY_CHAIN)~=0)
and Duel.CheckReleaseGroup(tp,c15291624.spfilter,1,nil,c,tp)
and Duel.CheckReleaseGroup(REASON_COST,tp,c15291624.spfilter,1,nil,c,tp)
end
function c15291624.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(tp,c15291624.spfilter,1,1,nil,c,tp)
......
......@@ -51,7 +51,7 @@ function c15335853.indcon(e)
return Duel.IsExistingMatchingCard(Card.IsType,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil,TYPE_TOKEN)
end
function c15335853.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsType,1,nil,TYPE_TOKEN) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsType,1,nil,TYPE_TOKEN) end
local g=Duel.SelectReleaseGroup(tp,Card.IsType,1,1,nil,TYPE_TOKEN)
Duel.Release(g,REASON_COST)
end
......
......@@ -29,7 +29,7 @@ function c15717011.mfilter(c,tp)
return c:IsLocation(LOCATION_MZONE) and c:IsCanBeFusionMaterial() and (c:IsControler(tp) or c:IsFaceup())
end
function c15717011.fcheck(tp,sg,fc)
return Duel.CheckReleaseGroup(tp,aux.IsInGroup,#sg,nil,sg)
return Duel.CheckReleaseGroup(REASON_COST,tp,aux.IsInGroup,#sg,nil,sg)
end
function c15717011.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
......
......@@ -62,7 +62,7 @@ function c15844566.cfilter(c,g)
end
function c15844566.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
local lg=e:GetHandler():GetLinkedGroup()
if chk==0 then return Duel.CheckReleaseGroup(tp,c15844566.cfilter,1,nil,lg) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c15844566.cfilter,1,nil,lg) end
local g=Duel.SelectReleaseGroup(tp,c15844566.cfilter,1,1,nil,lg)
Duel.Release(g,REASON_COST)
end
......
......@@ -39,7 +39,7 @@ function c16024176.hspcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c16024176.hspfilter,1,nil,ft,tp)
return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c16024176.hspfilter,1,nil,ft,tp)
end
function c16024176.hspop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -55,7 +55,7 @@ function c16313112.cfilter(c)
return c:IsSetCard(0x119) and c:IsType(TYPE_LINK)
end
function c16313112.effcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c16313112.cfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c16313112.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c16313112.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -38,7 +38,7 @@ function c16802689.hspcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c16802689.hspfilter,1,nil,ft,tp)
return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c16802689.hspfilter,1,nil,ft,tp)
end
function c16802689.hspop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -17,7 +17,7 @@ function c16923472.costfilter(c)
return c:IsFaceup() and c:IsSetCard(0x58) and not c:IsCode(16923472)
end
function c16923472.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c16923472.costfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c16923472.costfilter,1,nil) end
local sg=Duel.SelectReleaseGroup(tp,c16923472.costfilter,1,1,nil)
Duel.Release(sg,REASON_COST)
end
......
......@@ -25,7 +25,7 @@ function c16940215.discost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local fe=Duel.IsPlayerAffectedByEffect(tp,29942771)
local b1=fe and Duel.IsPlayerCanDiscardDeckAsCost(tp,2)
local b2=c:IsReleasable() and Duel.CheckReleaseGroup(tp,c16940215.cfilter,1,c)
local b2=c:IsReleasable() and Duel.CheckReleaseGroup(REASON_COST,tp,c16940215.cfilter,1,c)
if chk==0 then return b1 or b2 end
if b1 and (not b2 or Duel.SelectYesNo(tp,fe:GetDescription())) then
Duel.Hint(HINT_CARD,0,29942771)
......
......@@ -28,7 +28,7 @@ function c16960351.spfilter(c,e,tp,lv)
end
function c16960351.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c16960351.rfilter,1,nil,e,tp,ft) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c16960351.rfilter,1,nil,e,tp,ft) end
local g=Duel.SelectReleaseGroup(tp,c16960351.rfilter,1,1,nil,e,tp,ft)
local tc=g:GetFirst()
e:SetLabel(tc:GetOriginalLevel())
......
......@@ -32,7 +32,7 @@ function c17197110.spfilter(c,e,tp)
return c:IsSetCard(0x2f) and c:IsLevelBelow(4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c17197110.fselect(g,tp)
return Duel.GetMZoneCount(tp,g)>=g:GetCount() and Duel.CheckReleaseGroup(tp,aux.IsInGroup,#g,nil,g)
return Duel.GetMZoneCount(tp,g)>=g:GetCount() and Duel.CheckReleaseGroup(REASON_COST,tp,aux.IsInGroup,#g,nil,g)
end
function c17197110.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(100)
......
......@@ -48,7 +48,7 @@ function c17286057.hspcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c17286057.hspfilter,1,nil,ft,tp)
return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c17286057.hspfilter,1,nil,ft,tp)
end
function c17286057.hspop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -26,7 +26,7 @@ function c17427333.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then
if e:GetLabel()~=100 then return false end
e:SetLabel(0)
return Duel.CheckReleaseGroup(tp,c17427333.costfilter,1,nil,tp)
return Duel.CheckReleaseGroup(REASON_COST,tp,c17427333.costfilter,1,nil,tp)
end
local g=Duel.SelectReleaseGroup(tp,c17427333.costfilter,1,1,nil,tp)
local atk=g:GetFirst():GetTextAttack()
......
......@@ -29,7 +29,7 @@ function c17948378.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(17948378)~=0
end
function c17948378.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x22) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,nil,0x22) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x22)
Duel.Release(g,REASON_COST)
end
......
......@@ -24,7 +24,7 @@ function c1802450.cfilter(c)
return c:IsFaceup() and c:IsAttribute(ATTRIBUTE_EARTH)
end
function c1802450.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c1802450.cfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c1802450.cfilter,1,nil) end
local cg=Duel.SelectReleaseGroup(tp,c1802450.cfilter,1,1,nil)
Duel.Release(cg,REASON_COST)
end
......
......@@ -33,7 +33,7 @@ function c18378582.rfilter(c,code)
end
function c18378582.spcon(e,c)
if c==nil then return Duel.IsEnvironment(56433456) end
return Duel.CheckReleaseGroup(c:GetControler(),c18378582.rfilter,1,nil,66073051)
return Duel.CheckReleaseGroup(REASON_COST,c:GetControler(),c18378582.rfilter,1,nil,66073051)
end
function c18378582.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(tp,c18378582.rfilter,1,1,nil,66073051)
......
......@@ -16,7 +16,7 @@ function c18597560.cfilter(c,e,tp)
end
function c18597560.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(100)
if chk==0 then return Duel.CheckReleaseGroup(tp,c18597560.cfilter,1,nil,e,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c18597560.cfilter,1,nil,e,tp) end
local g=Duel.SelectReleaseGroup(tp,c18597560.cfilter,1,1,nil,e,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -42,7 +42,7 @@ function c1861629.cfilter(c,g)
end
function c1861629.discost(e,tp,eg,ep,ev,re,r,rp,chk)
local lg=e:GetHandler():GetLinkedGroup()
if chk==0 then return Duel.CheckReleaseGroup(tp,c1861629.cfilter,1,nil,lg) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c1861629.cfilter,1,nil,lg) end
local g=Duel.SelectReleaseGroup(tp,c1861629.cfilter,1,1,nil,lg)
Duel.Release(g,REASON_COST)
end
......
......@@ -29,7 +29,7 @@ function c18828179.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c18828179.rfilter,1,nil,ft,tp)
return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c18828179.rfilter,1,nil,ft,tp)
end
function c18828179.spop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -28,7 +28,7 @@ function c19221310.cfilter(c,ft,tp)
end
function c19221310.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return Duel.CheckReleaseGroup(tp,c19221310.cfilter,1,nil,ft,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c19221310.cfilter,1,nil,ft,tp) end
local g=Duel.SelectReleaseGroup(tp,c19221310.cfilter,1,1,nil,ft,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -22,7 +22,7 @@ function c19307353.thfilter(c,csum)
return c:IsAttackAbove(0) and c:IsDefenseAbove(0) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and csum==sum
end
function c19307353.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c19307353.cfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c19307353.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c19307353.cfilter,1,1,nil,tp)
local sum=math.max(g:GetFirst():GetTextAttack(),0)+math.max(g:GetFirst():GetTextDefense(),0)
e:SetLabel(sum)
......
......@@ -14,7 +14,7 @@ function c20154092.initial_effect(c)
c:RegisterEffect(e2)
end
function c20154092.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,e:GetHandler(),0x70) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,e:GetHandler(),0x70) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,e:GetHandler(),0x70)
Duel.Release(g,REASON_COST)
end
......
......@@ -76,7 +76,7 @@ function c20368763.spcfilter(c,ft,tp)
end
function c20368763.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c20368763.spcfilter,1,nil,ft,tp) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c20368763.spcfilter,1,nil,ft,tp) end
local g=Duel.SelectReleaseGroup(tp,c20368763.spcfilter,1,1,nil,ft,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -30,7 +30,7 @@ function c20403123.hspcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c20403123.hspfilter,1,nil,ft,tp)
return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c20403123.hspfilter,1,nil,ft,tp)
end
function c20403123.hspop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -31,7 +31,7 @@ function c20513882.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
if e:GetLabel()~=100 then return false end
e:SetLabel(0)
return Duel.CheckReleaseGroup(tp,c20513882.cfilter,1,nil,tp)
return Duel.CheckReleaseGroup(REASON_COST,tp,c20513882.cfilter,1,nil,tp)
end
local g=Duel.SelectReleaseGroup(tp,c20513882.cfilter,1,1,nil,tp)
e:SetLabelObject(g:GetFirst())
......
......@@ -28,7 +28,7 @@ function c20663556.cfilter(c,ft,tp)
end
function c20663556.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c20663556.cfilter,1,nil,ft,tp) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c20663556.cfilter,1,nil,ft,tp) end
local g=Duel.SelectReleaseGroup(tp,c20663556.cfilter,1,1,nil,ft,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -52,7 +52,7 @@ function c20951752.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetLabel()==1
end
function c20951752.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,nil,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,nil,1,nil) end
local g=Duel.GetReleaseGroup(tp)
local ct=g:FilterCount(Card.IsRace,nil,RACE_FAIRY)
aux.UseExtraReleaseCount(g,tp)
......
......@@ -49,7 +49,7 @@ function c21200905.cfilter(c,g)
end
function c21200905.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local lg=e:GetHandler():GetLinkedGroup()
if chk==0 then return Duel.CheckReleaseGroup(tp,c21200905.cfilter,1,nil,lg) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c21200905.cfilter,1,nil,lg) end
local g=Duel.SelectReleaseGroup(tp,c21200905.cfilter,1,1,nil,lg)
Duel.Release(g,REASON_COST)
end
......
......@@ -13,7 +13,7 @@ function c21297224.initial_effect(c)
c:RegisterEffect(e1)
end
function c21297224.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,nil,2,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,nil,2,nil) end
local g=Duel.SelectReleaseGroup(tp,nil,2,2,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -74,7 +74,7 @@ function c21686473.hspcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c21686473.hspfilter,1,nil,ft,tp)
return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c21686473.hspfilter,1,nil,ft,tp)
end
function c21686473.hspop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -28,7 +28,7 @@ function c21772453.hspcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c21772453.hspfilter,1,nil,ft,tp)
return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c21772453.hspfilter,1,nil,ft,tp)
end
function c21772453.hspop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -9,7 +9,7 @@ function c21879581.initial_effect(c)
c:RegisterEffect(e1)
end
function c21879581.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsType,1,nil,TYPE_SYNCHRO) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsType,1,nil,TYPE_SYNCHRO) end
local g=Duel.SelectReleaseGroup(tp,Card.IsType,1,1,nil,TYPE_SYNCHRO)
Duel.Release(g,REASON_COST)
end
......
......@@ -73,7 +73,7 @@ function c21954587.rfilter(c)
return c:IsPosition(POS_FACEUP_ATTACK) and c:IsAttribute(ATTRIBUTE_WATER)
end
function c21954587.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c21954587.rfilter,1,e:GetHandler()) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c21954587.rfilter,1,e:GetHandler()) end
local g=Duel.SelectReleaseGroup(tp,c21954587.rfilter,1,1,e:GetHandler())
Duel.Release(g,REASON_COST)
end
......
......@@ -66,7 +66,7 @@ function c22110647.spop(e,tp,eg,ep,ev,re,r,rp)
end
function c22110647.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetAttackAnnouncedCount()==0
and Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x101b) end
and Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,nil,0x101b) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x101b)
Duel.Release(g,REASON_COST)
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -16,7 +16,7 @@ function c22431243.cfilter(c,tp)
end
function c22431243.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
if chk==0 then return Duel.CheckReleaseGroup(tp,c22431243.cfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c22431243.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c22431243.cfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -16,7 +16,7 @@ function c22493811.costfilter(c,tp)
end
function c22493811.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
if chk==0 then return Duel.CheckReleaseGroup(tp,c22493811.costfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c22493811.costfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c22493811.costfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -60,7 +60,7 @@ function c22586618.costfilter(c,tp)
return c:IsRace(RACE_WINDBEAST) and c:IsAttribute(ATTRIBUTE_WIND) and (c:IsControler(tp) or c:IsFaceup())
end
function c22586618.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c22586618.costfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c22586618.costfilter,1,nil,tp) end
local sg=Duel.SelectReleaseGroup(tp,c22586618.costfilter,1,1,nil,tp)
Duel.Release(sg,REASON_COST)
end
......
......@@ -67,7 +67,7 @@ function c22865492.cfilter1(c,tp)
return c:IsSetCard(0x8) and Duel.GetMZoneCount(tp,c)>0 and (c:IsFaceup() or c:IsControler(tp))
end
function c22865492.spcost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c22865492.cfilter1,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c22865492.cfilter1,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c22865492.cfilter1,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -35,7 +35,7 @@ function c23099524.rfilter(c,tp)
return Duel.GetMZoneCount(tp,c)>0
end
function c23099524.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c23099524.rfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c23099524.rfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c23099524.rfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......@@ -60,7 +60,7 @@ function c23099524.thcfilter(c,tp)
return c:IsRace(RACE_FAIRY+RACE_FIEND+RACE_REPTILE) and (c:IsFaceup() or c:IsControler(tp))
end
function c23099524.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c23099524.thcfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c23099524.thcfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c23099524.thcfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -39,7 +39,7 @@ function c2311090.cfilter(c)
return c:IsLevel(2) or c:IsRank(2) or c:IsLink(2)
end
function c2311090.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c2311090.cfilter,1,e:GetHandler()) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c2311090.cfilter,1,e:GetHandler()) end
local g=Duel.SelectReleaseGroup(tp,c2311090.cfilter,1,1,e:GetHandler())
Duel.Release(g,REASON_COST)
local tc=Duel.GetOperatedGroup():GetFirst()
......
......@@ -84,7 +84,7 @@ function c23116808.tkop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
end
function c23116808.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsAttribute,1,e:GetHandler(),ATTRIBUTE_FIRE) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsAttribute,1,e:GetHandler(),ATTRIBUTE_FIRE) end
local g=Duel.SelectReleaseGroup(tp,Card.IsAttribute,1,1,e:GetHandler(),ATTRIBUTE_FIRE)
Duel.Release(g,REASON_COST)
end
......
......@@ -19,7 +19,7 @@ function c23408872.cfilter(c,ft,tp)
end
function c23408872.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c23408872.cfilter,1,nil,ft,tp) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c23408872.cfilter,1,nil,ft,tp) end
local g=Duel.SelectReleaseGroup(tp,c23408872.cfilter,1,1,nil,ft,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -98,7 +98,7 @@ function c23440231.cfilter(c)
return not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c23440231.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c23440231.cfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c23440231.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c23440231.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -45,7 +45,7 @@ function c23790299.atkcon(e,tp,eg,ep,ev,re,r,rp)
end
function c23790299.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsAttackAbove,1,c,1) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsAttackAbove,1,c,1) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectReleaseGroup(tp,Card.IsAttackAbove,1,1,c,1)
Duel.Release(g,REASON_COST)
......
......@@ -28,7 +28,7 @@ function c23898021.regop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1)
end
function c23898021.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsAttribute,1,nil,ATTRIBUTE_DARK) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsAttribute,1,nil,ATTRIBUTE_DARK) end
local g=Duel.SelectReleaseGroup(tp,Card.IsAttribute,1,1,nil,ATTRIBUTE_DARK)
Duel.Release(g,REASON_COST)
end
......
......@@ -13,7 +13,7 @@ function c24362891.initial_effect(c)
end
function c24362891.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsRace,1,nil,RACE_REPTILE) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsRace,1,nil,RACE_REPTILE) end
local g=Duel.SelectReleaseGroup(tp,Card.IsRace,1,1,nil,RACE_REPTILE)
Duel.Release(g,REASON_COST)
end
......
......@@ -40,7 +40,7 @@ function c24487411.cfilter(c,g)
end
function c24487411.descost2(e,tp,eg,ep,ev,re,r,rp,chk)
local lg=e:GetHandler():GetLinkedGroup()
if chk==0 then return Duel.CheckReleaseGroup(tp,c24487411.cfilter,1,nil,lg) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c24487411.cfilter,1,nil,lg) end
local g=Duel.SelectReleaseGroup(tp,c24487411.cfilter,1,1,nil,lg)
Duel.Release(g,REASON_COST)
end
......
......@@ -84,7 +84,7 @@ function c24701066.cfilter(c,tp)
return c:IsType(TYPE_LINK) and c:IsRace(RACE_MACHINE) and Duel.GetMZoneCount(tp,c)>0
end
function c24701066.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c24701066.cfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c24701066.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c24701066.cfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -60,7 +60,7 @@ function c24842059.cfilter(c,tp)
return c:IsSetCard(0x135) and c:IsSummonLocation(LOCATION_EXTRA) and Duel.GetMZoneCount(tp,c)>0
end
function c24842059.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c24842059.cfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c24842059.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c24842059.cfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -17,7 +17,7 @@ function c25090294.costfilter(c,tp)
end
function c25090294.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
if chk==0 then return Duel.CheckReleaseGroup(tp,c25090294.costfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c25090294.costfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c25090294.costfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -11,7 +11,7 @@ function c25109950.initial_effect(c)
c:RegisterEffect(e1)
end
function c25109950.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,nil,1,e:GetHandler()) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,nil,1,e:GetHandler()) end
local g=Duel.SelectReleaseGroup(tp,nil,1,1,e:GetHandler())
Duel.Release(g,REASON_COST)
end
......
......@@ -29,7 +29,7 @@ function c25435080.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then
if e:GetLabel()~=1 then return false end
e:SetLabel(0)
return Duel.CheckReleaseGroup(tp,c25435080.cfilter,1,nil,tp)
return Duel.CheckReleaseGroup(REASON_COST,tp,c25435080.cfilter,1,nil,tp)
end
local rg=Duel.SelectReleaseGroup(tp,c25435080.cfilter,1,1,nil,tp)
e:SetLabel(rg:GetFirst():GetAttack())
......
......@@ -28,7 +28,7 @@ end
function c25449584.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.CheckReleaseGroup(tp,c25449584.spfilter,1,nil,tp)
return Duel.CheckReleaseGroup(REASON_COST,tp,c25449584.spfilter,1,nil,tp)
end
function c25449584.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(tp,c25449584.spfilter,1,1,nil,tp)
......
......@@ -38,7 +38,7 @@ function c25629622.initial_effect(c)
c:RegisterEffect(e4)
end
function c25629622.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x10ec) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,nil,0x10ec) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x10ec)
Duel.Release(g,REASON_COST)
end
......
......@@ -15,7 +15,7 @@ function c25643346.initial_effect(c)
c:RegisterEffect(e1)
end
function c25643346.stcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,aux.TRUE,2,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,aux.TRUE,2,nil) end
local g=Duel.SelectReleaseGroup(tp,aux.TRUE,2,2,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -27,7 +27,7 @@ function c2572890.cfilter(c)
and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c2572890.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c2572890.cfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c2572890.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c2572890.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -91,7 +91,7 @@ function c25811989.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(sg,REASON_EFFECT)
end
function c25811989.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsReleasable,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsReleasable,1,nil) end
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasable,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -103,7 +103,7 @@ function c26034577.rmcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp
end
function c26034577.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsReleasable,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsReleasable,1,nil) end
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasable,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -41,7 +41,7 @@ function c26949946.hdcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end
function c26949946.hdcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsCode,1,nil,31533705)
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsCode,1,nil,31533705)
and Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>0 end
local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)
local g=Duel.SelectReleaseGroup(tp,Card.IsCode,1,ct,nil,31533705)
......
......@@ -16,7 +16,7 @@ function c27869883.cfilter(c)
return c:IsFaceup() and c:IsAttribute(ATTRIBUTE_DARK)
end
function c27869883.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c27869883.cfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c27869883.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c27869883.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -84,7 +84,7 @@ function c27993919.spfilter(c,e,tp,sc)
and math.abs(c:GetCurrentScale()-sc)==2 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c27993919.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c27993919.cfilter,1,nil,e,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c27993919.cfilter,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end
function c27993919.spop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -11,7 +11,7 @@ function c28062325.initial_effect(c)
c:RegisterEffect(e1)
end
function c28062325.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsRace,1,nil,RACE_PLANT) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsRace,1,nil,RACE_PLANT) end
local g=Duel.SelectReleaseGroup(tp,Card.IsRace,1,1,nil,RACE_PLANT)
Duel.Release(g,REASON_COST)
end
......
......@@ -45,7 +45,7 @@ function c28388927.thop(e,tp,eg,ep,ev,re,r,rp)
end
function c28388927.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsRace,1,c,RACE_INSECT) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsRace,1,c,RACE_INSECT) end
local rg=Duel.SelectReleaseGroup(tp,Card.IsRace,1,1,c,RACE_INSECT)
Duel.Release(rg,REASON_COST)
end
......
......@@ -33,7 +33,7 @@ function c28529976.filter(c,lv,e,tp)
end
function c28529976.target(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c28529976.cfilter,1,nil,e,tp,ft) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c28529976.cfilter,1,nil,e,tp,ft) end
local rg=Duel.SelectReleaseGroup(tp,c28529976.cfilter,1,1,nil,e,tp,ft)
e:SetLabel(rg:GetFirst():GetLevel()+3)
Duel.Release(rg,REASON_COST)
......
......@@ -28,7 +28,7 @@ end
function c28553439.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c28553439.rfilter(chkc,e,tp,ft) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c28553439.rfilter,1,nil,e,tp,ft)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c28553439.rfilter,1,nil,e,tp,ft)
and Duel.IsExistingMatchingCard(c28553439.filter,tp,LOCATION_HAND,0,1,nil,e,tp) end
local g=Duel.SelectReleaseGroup(tp,c28553439.rfilter,1,1,nil,e,tp,ft)
Duel.SetTargetCard(g)
......
......@@ -17,7 +17,7 @@ function c28565527.cfilter(c)
return Duel.IsExistingTarget(Card.IsAbleToHand,0,LOCATION_MZONE,LOCATION_MZONE,1,c)
end
function c28565527.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c28565527.cfilter,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c28565527.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c28565527.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
......
......@@ -52,7 +52,7 @@ function c286392.cfilter(c,ft,tp)
end
function c286392.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c286392.cfilter,1,nil,ft,tp) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c286392.cfilter,1,nil,ft,tp) end
local g=Duel.SelectReleaseGroup(tp,c286392.cfilter,1,1,nil,ft,tp)
Duel.Release(g,REASON_COST)
end
......
......@@ -104,7 +104,7 @@ function c28651380.acon(e)
return e:GetHandlerPlayer()==e:GetOwnerPlayer()
end
function c28651380.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,aux.TRUE,1,nil) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,aux.TRUE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectReleaseGroup(tp,aux.TRUE,1,1,nil)
Duel.Release(g,REASON_COST)
......
......@@ -13,7 +13,7 @@ function c28754338.initial_effect(c)
end
function c28754338.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsReleasable() and Duel.CheckReleaseGroup(tp,Card.IsRace,1,c,RACE_SEASERPENT) end
if chk==0 then return c:IsReleasable() and Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsRace,1,c,RACE_SEASERPENT) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local rg=Duel.SelectReleaseGroup(tp,Card.IsRace,1,1,c,RACE_SEASERPENT)
rg:AddCard(c)
......
......@@ -12,7 +12,7 @@ function c29013526.initial_effect(c)
c:RegisterEffect(e1)
end
function c29013526.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsAttribute,1,e:GetHandler(),ATTRIBUTE_WIND) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsAttribute,1,e:GetHandler(),ATTRIBUTE_WIND) end
local g=Duel.SelectReleaseGroup(tp,Card.IsAttribute,1,1,e:GetHandler(),ATTRIBUTE_WIND)
Duel.Release(g,REASON_COST)
end
......
......@@ -15,7 +15,7 @@ function c2903036.cfilter(c,tp)
end
function c2903036.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
if chk==0 then return Duel.CheckReleaseGroup(tp,c2903036.cfilter,1,nil,tp) end
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c2903036.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c2903036.cfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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