Commit db246903 authored by wind2009's avatar wind2009

Update 封印の魔道士 スプーン

parent a1b5b108
Pipeline #29823 passed with stages
in 1 minute and 21 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: '7.8' # 更新的时候改这里,修改成上一个tag的版本号 REF_COMMIT: '7.9' # 更新的时候改这里,修改成上一个tag的版本号
script: script:
- apt update;apt -y install wget - apt update;apt -y install wget
- currentPath=$PWD - currentPath=$PWD
......
pics/100228001.jpg

97.9 KB | W: | H:

pics/100228001.jpg

90.2 KB | W: | H:

pics/100228001.jpg
pics/100228001.jpg
pics/100228001.jpg
pics/100228001.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -37,26 +37,25 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -37,26 +37,25 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil) local b1=Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil)
local b2=Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) local b2=Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil)
if chk==0 then return b1 or b2 end if chk==0 then return b1 or b2 end
local off=1 local op=0
local ops={} if b1 and not b2 then
local opval={} Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,2))
if b1 then op=1
ops[off]=aux.Stringid(id,2)
opval[off-1]=1
off=off+1
end end
if b2 then if b2 and not b1 then
ops[off]=aux.Stringid(id,3) Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,3))
opval[off-1]=2 op=2
off=off+1
end end
if off==1 then return end if b1 and b2 then
local op=Duel.SelectOption(tp,table.unpack(ops)) op=aux.SelectFromOptions(tp,
if opval[op]==1 then {b1,aux.Stringid(id,2),1},
{b2,aux.Stringid(id,3),2})
end
if op==1 then
e:SetLabel(1) e:SetLabel(1)
e:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
elseif opval[op]==2 then elseif op==2 then
e:SetLabel(2) e:SetLabel(2)
e:SetCategory(CATEGORY_ATKCHANGE) e:SetCategory(CATEGORY_ATKCHANGE)
end 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