Commit 4e14fd3e authored by wind2009's avatar wind2009

Fix 鎖縛竜ザレン

parent b5ef0793
...@@ -91,7 +91,7 @@ add_script_diff: ...@@ -91,7 +91,7 @@ add_script_diff:
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: '18.13' # 更新的时候改这里,修改成上一个tag的版本号 REF_COMMIT: '18.14' # 更新的时候改这里,修改成上一个tag的版本号
script: script:
- apt update;apt -y install wget - apt update;apt -y install wget
- currentPath=$PWD - currentPath=$PWD
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
101303038 101303038
101303039 101303039
101303040 101303040
101303042
101303043 101303043
101303205 101303205
101303206 101303206
......
...@@ -47,8 +47,8 @@ end ...@@ -47,8 +47,8 @@ end
function s.discon(e,tp,eg,ep,ev,re,r,rp) function s.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if ev<=1 then return false end if ev<=1 then return false end
return not c:IsStatus(STATUS_BATTLE_DESTROYED) and Duel.IsChainDisablable(ev) return not c:IsStatus(STATUS_BATTLE_DESTROYED)
or Duel.IsChainDisablable(ev-1) and (Duel.IsChainDisablable(ev) or Duel.IsChainDisablable(ev-1))
end end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk) function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsChainDisablable(ev) local b1=Duel.IsChainDisablable(ev)
...@@ -73,13 +73,13 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -73,13 +73,13 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.disop(e,tp,eg,ep,ev,re,r,rp) function s.disop(e,tp,eg,ep,ev,re,r,rp)
if e:GetLabel()==1 then if e:GetLabel()==1 then
if Duel.NegateEffect(ev) and re:GetHandler():IsRelateToEffect(re) then if Duel.NegateEffect(ev) and re:GetHandler():IsRelateToChain(ev) then
Duel.Destroy(eg,REASON_EFFECT) Duel.Destroy(eg,REASON_EFFECT)
end end
else else
local te=Duel.GetChainInfo(ev-1,CHAININFO_TRIGGERING_EFFECT) local te=Duel.GetChainInfo(ev-1,CHAININFO_TRIGGERING_EFFECT)
if Duel.NegateEffect(ev-1) and te:GetHandler():IsRelateToEffect(te) then if Duel.NegateEffect(ev-1) and te:GetHandler():IsRelateToChain(ev-1) then
Duel.Destroy(te:GetHandler(),REASON_EFFECT) Duel.Destroy(te:GetHandler(),REASON_EFFECT)
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