Commit f40d000a authored by wind2009's avatar wind2009

Fix ボンバー・プレイス

parent b18eca3c
Pipeline #32781 failed with stages
in 1 minute and 22 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: '11.18' # 更新的时候改这里,修改成上一个tag的版本号 REF_COMMIT: '11.19' # 更新的时候改这里,修改成上一个tag的版本号
script: script:
- apt update;apt -y install wget - apt update;apt -y install wget
- currentPath=$PWD - currentPath=$PWD
......
No preview for this file type
...@@ -28,7 +28,7 @@ function s.descon1(tp) ...@@ -28,7 +28,7 @@ function s.descon1(tp)
end end
function s.tgfilter1(c,tp) function s.tgfilter1(c,tp)
return c:IsFaceup() and c:IsLevelAbove(1) return c:IsFaceup() and c:IsLevelAbove(1)
and Duel.IsExistingMatchingCard(s.desfilter1,tp,0,LOCATION_MZONE,c,c:GetLevel()) and Duel.IsExistingMatchingCard(s.desfilter1,tp,0,LOCATION_MZONE,1,c,c:GetLevel())
end end
function s.desfilter1(c,lv) function s.desfilter1(c,lv)
return c:IsFaceup() and (c:IsLevel(lv) or c:IsRank(lv) or c:IsLink(lv)) return c:IsFaceup() and (c:IsLevel(lv) or c:IsRank(lv) or c:IsLink(lv))
...@@ -48,7 +48,8 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -48,7 +48,8 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
{b1,aux.Stringid(id,0),1}, {b1,aux.Stringid(id,0),1},
{b2,aux.Stringid(id,1),2}) {b2,aux.Stringid(id,1),2})
e:SetLabel(label) e:SetLabel(label)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,LOCATION_MZONE) local g=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
end end
function s.desop(e,tp,eg,ep,ev,re,r,rp) function s.desop(e,tp,eg,ep,ev,re,r,rp)
local label=e:GetLabel() local label=e:GetLabel()
......
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