Commit a186b384 authored by nanahira's avatar nanahira

Merge branch 'master' of git.mycard.moe:mycard/pre-release-database-cdb

parents c5e0535e 209cb38a
Pipeline #43384 passed with stages
in 3 minutes and 44 seconds
......@@ -115,7 +115,7 @@ add_script_diff:
FIELDS: 'name,desc,overallString,picUrl'
GIT_DEPTH: '1000'
OUTPUT_FILENAME: test-release.json
REF_COMMIT: '22.1' # 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT: '22.6' # 更新的时候改这里,修改成上一个tag的版本号
script:
- apt update;apt -y install wget
- currentPath=$PWD
......
......@@ -68,7 +68,7 @@ function s.pop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.desfilter(c,tp)
return c:IsPreviousControler(tp) and c:GetOriginalType()&TYPE_MONSTER~=0
return c:IsPreviousControler(tp) and (c:GetOriginalType()&TYPE_MONSTER~=0 or c:IsPreviousLocation(LOCATION_MZONE))
and c:IsPreviousPosition(POS_FACEUP) and c:IsReason(REASON_BATTLE+REASON_EFFECT)
end
function s.spcon1(e,tp,eg,ep,ev,re,r,rp)
......@@ -129,7 +129,7 @@ function s.fsptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function s.fspop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) or not c:IsReleasable(REASON_EFFECT) then return end
if not c:IsRelateToChain() or not c:IsReleasable(REASON_EFFECT) then return end
Duel.Release(c,REASON_EFFECT)
local chkf=tp
local mg1=Duel.GetFusionMaterial(tp):Filter(s.filter0,nil,e)
......
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