Commit 07852351 authored by wind2009's avatar wind2009

Update 帝王の極致

parent f023de49
...@@ -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.12' # 更新的时候改这里,修改成上一个tag的版本号 REF_COMMIT: '13.0' # 更新的时候改这里,修改成上一个tag的版本号
script: script:
- apt update;apt -y install wget - apt update;apt -y install wget
- currentPath=$PWD - currentPath=$PWD
......
...@@ -46,37 +46,14 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -46,37 +46,14 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetFlagEffect(id)==0 if chk==0 then return e:GetHandler():GetFlagEffect(id)==0
and (b1 or b2 or b3 or b4 or b5 or b6) end and (b1 or b2 or b3 or b4 or b5 or b6) end
e:GetHandler():RegisterFlagEffect(id,RESET_CHAIN,0,1) e:GetHandler():RegisterFlagEffect(id,RESET_CHAIN,0,1)
local op=0 local op=aux.SelectFromOptions(tp,
if b1 and b2 and b3 and b4 and b5 and b6 then {b1,aux.Stringid(id,1),1},
local page=0 {b2,aux.Stringid(id,2),2},
while op==0 or op==7 do {b3,aux.Stringid(id,3),3},
if page==0 then {b4,aux.Stringid(id,4),4},
op=aux.SelectFromOptions(tp, {b5,aux.Stringid(id,5),5},
{b1,aux.Stringid(id,1),1}, {b6,aux.Stringid(id,6),6}
{b2,aux.Stringid(id,2),2}, )
{b3,aux.Stringid(id,3),3},
{true,1345,7})
else
op=aux.SelectFromOptions(tp,
{b4,aux.Stringid(id,4),4},
{b5,aux.Stringid(id,5),5},
{b6,aux.Stringid(id,6),6},
{true,1360,7})
end
if op==7 then
page=1-page
end
end
else
op=aux.SelectFromOptions(tp,
{b1,aux.Stringid(id,1),1},
{b2,aux.Stringid(id,2),2},
{b3,aux.Stringid(id,3),3},
{b4,aux.Stringid(id,4),4},
{b5,aux.Stringid(id,5),5},
{b6,aux.Stringid(id,6),6}
)
end
e:SetLabel(op) e:SetLabel(op)
Duel.RegisterFlagEffect(tp,id+o*op,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,id+o*op,RESET_PHASE+PHASE_END,0,1)
if op==1 then if op==1 then
......
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