Commit b180e21d authored by wind2009's avatar wind2009

format

parent 8daa59b8
Pipeline #33461 passed with stages
in 2 minutes and 13 seconds
...@@ -53,7 +53,7 @@ merge_databases: ...@@ -53,7 +53,7 @@ merge_databases:
FIELDS: 'name,desc,overallString,picUrl' FIELDS: 'name,desc,overallString,picUrl'
GIT_DEPTH: '1000' GIT_DEPTH: '1000'
OUTPUT_FILENAME: test-release.json OUTPUT_FILENAME: test-release.json
REF_COMMIT: '12.3' # 更新的时候改这里,修改成上一个tag的版本号 REF_COMMIT: '12.4' # 更新的时候改这里,修改成上一个tag的版本号
script: script:
- apt update;apt -y install wget - apt update;apt -y install wget
- currentPath=$PWD - currentPath=$PWD
......
...@@ -107,4 +107,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp) ...@@ -107,4 +107,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp)
local tg=mg:SelectSubGroup(tp,s.syncheck,false,2,#mg,tp,sc) local tg=mg:SelectSubGroup(tp,s.syncheck,false,2,#mg,tp,sc)
Duel.SynchroSummon(tp,sc,nil,tg,#tg-1,#tg-1) Duel.SynchroSummon(tp,sc,nil,tg,#tg-1,#tg-1)
end end
end end
\ No newline at end of file
...@@ -92,4 +92,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp) ...@@ -92,4 +92,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then
Duel.Destroy(eg,REASON_EFFECT) Duel.Destroy(eg,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -87,4 +87,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,4 +87,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateEffect(ev) and re:GetHandler():IsRelateToEffect(re) then if Duel.NegateEffect(ev) and re:GetHandler():IsRelateToEffect(re) then
Duel.Destroy(eg,REASON_EFFECT) Duel.Destroy(eg,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -60,4 +60,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,4 +60,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
end end
end end
\ No newline at end of file
...@@ -115,4 +115,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -115,4 +115,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
end end
end end
\ No newline at end of file
...@@ -83,4 +83,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,4 +83,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
end end
\ No newline at end of file
...@@ -71,4 +71,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,4 +71,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
end end
end end
\ No newline at end of file
...@@ -136,4 +136,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -136,4 +136,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
dg:GetFirst():RegisterEffect(e2) dg:GetFirst():RegisterEffect(e2)
end end
end end
end end
\ No newline at end of file
...@@ -82,4 +82,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,4 +82,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(LOCATION_REMOVED) e1:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
end end
end end
\ No newline at end of file
...@@ -67,4 +67,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,4 +67,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(LOCATION_REMOVED) e1:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
end end
end end
\ No newline at end of file
...@@ -77,4 +77,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,4 +77,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
end end
\ No newline at end of file
...@@ -88,4 +88,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -88,4 +88,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function s.splimit(e,c) function s.splimit(e,c)
return not c:IsType(TYPE_FUSION) and c:IsLocation(LOCATION_EXTRA) return not c:IsType(TYPE_FUSION) and c:IsLocation(LOCATION_EXTRA)
end end
\ No newline at end of file
...@@ -44,4 +44,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,4 +44,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
end end
\ No newline at end of file
...@@ -56,4 +56,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,4 +56,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
end end
\ No newline at end of file
...@@ -72,4 +72,4 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,4 +72,4 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
if re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsType(TYPE_SYNCHRO) then if re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsType(TYPE_SYNCHRO) then
e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD-RESET_TEMP_REMOVE,0,1) e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD-RESET_TEMP_REMOVE,0,1)
end end
end end
\ No newline at end of file
...@@ -72,4 +72,4 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,4 +72,4 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
if re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsType(TYPE_SYNCHRO) then if re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsType(TYPE_SYNCHRO) then
e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD-RESET_TEMP_REMOVE,0,1) e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD-RESET_TEMP_REMOVE,0,1)
end end
end end
\ No newline at end of file
...@@ -68,4 +68,4 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,4 +68,4 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
if re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsType(TYPE_SYNCHRO) then if re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsType(TYPE_SYNCHRO) then
e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD-RESET_TEMP_REMOVE,0,1) e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD-RESET_TEMP_REMOVE,0,1)
end end
end end
\ No newline at end of file
...@@ -196,4 +196,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -196,4 +196,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -185,4 +185,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -185,4 +185,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -204,4 +204,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -204,4 +204,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -104,4 +104,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp) ...@@ -104,4 +104,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp)
local tg=mg:SelectSubGroup(tp,s.syncheck,false,2,#mg,tp,sc) local tg=mg:SelectSubGroup(tp,s.syncheck,false,2,#mg,tp,sc)
Duel.SynchroSummon(tp,sc,nil,tg,#tg-1,#tg-1) Duel.SynchroSummon(tp,sc,nil,tg,#tg-1,#tg-1)
end end
end end
\ No newline at end of file
...@@ -89,4 +89,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,4 +89,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if not c:IsRelateToEffect(e) or not aux.NecroValleyFilter()(c) then return end if not c:IsRelateToEffect(e) or not aux.NecroValleyFilter()(c) then return end
sg:AddCard(c) sg:AddCard(c)
aux.PlaceCardsOnDeckBottom(tp,sg) aux.PlaceCardsOnDeckBottom(tp,sg)
end end
\ No newline at end of file
...@@ -110,4 +110,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -110,4 +110,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if not c:IsRelateToEffect(e) or not aux.NecroValleyFilter()(c) then return end if not c:IsRelateToEffect(e) or not aux.NecroValleyFilter()(c) then return end
sg:AddCard(c) sg:AddCard(c)
aux.PlaceCardsOnDeckBottom(tp,sg) aux.PlaceCardsOnDeckBottom(tp,sg)
end end
\ No newline at end of file
...@@ -104,4 +104,4 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp) ...@@ -104,4 +104,4 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
if a:IsRelateToEffect(e) and b:IsRelateToEffect(e) then if a:IsRelateToEffect(e) and b:IsRelateToEffect(e) then
Duel.SwapControl(a,b) Duel.SwapControl(a,b)
end end
end end
\ No newline at end of file
...@@ -66,4 +66,4 @@ function s.indtg(e,c) ...@@ -66,4 +66,4 @@ function s.indtg(e,c)
end end
function s.indtg2(e,c) function s.indtg2(e,c)
return c:IsCode(29762407) return c:IsCode(29762407)
end end
\ No newline at end of file
...@@ -95,4 +95,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -95,4 +95,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
end end
end end
\ No newline at end of file
...@@ -103,4 +103,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -103,4 +103,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -116,4 +116,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -116,4 +116,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -62,4 +62,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,4 +62,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.eacon(e,tp,eg,ep,ev,re,r,rp) function s.eacon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(aux.AND(Card.IsFaceupEx,Card.IsLevelAbove),e:GetHandlerPlayer(),LOCATION_REMOVED,0,1,nil,10) return Duel.IsExistingMatchingCard(aux.AND(Card.IsFaceupEx,Card.IsLevelAbove),e:GetHandlerPlayer(),LOCATION_REMOVED,0,1,nil,10)
end end
\ No newline at end of file
...@@ -52,4 +52,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,4 +52,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -117,4 +117,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -117,4 +117,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -118,4 +118,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -118,4 +118,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(sg,REASON_EFFECT) Duel.SendtoGrave(sg,REASON_EFFECT)
end end
end end
end end
\ No newline at end of file
...@@ -36,4 +36,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,4 +36,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
end end
\ No newline at end of file
...@@ -69,4 +69,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,4 +69,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -97,4 +97,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -97,4 +97,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -87,4 +87,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,4 +87,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -77,4 +77,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,4 +77,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -87,4 +87,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,4 +87,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -105,4 +105,4 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp) ...@@ -105,4 +105,4 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
end end
\ No newline at end of file
...@@ -84,4 +84,4 @@ function s.eaop(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,4 +84,4 @@ function s.eaop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
end end
\ No newline at end of file
...@@ -119,4 +119,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -119,4 +119,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(g) Duel.HintSelection(g)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -108,4 +108,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -108,4 +108,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if tc and tc:IsRelateToEffect(e) then if tc and tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -75,4 +75,4 @@ function s.matop(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,4 +75,4 @@ function s.matop(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(tc,g) Duel.Overlay(tc,g)
end end
end end
end end
\ No newline at end of file
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