Commit 4e14fd3e authored by wind2009's avatar wind2009

Fix 鎖縛竜ザレン

parent b5ef0793
......@@ -91,7 +91,7 @@ add_script_diff:
FIELDS: 'name,desc,overallString,picUrl'
GIT_DEPTH: '1000'
OUTPUT_FILENAME: test-release.json
REF_COMMIT: '18.13' # 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT: '18.14' # 更新的时候改这里,修改成上一个tag的版本号
script:
- apt update;apt -y install wget
- currentPath=$PWD
......
......@@ -25,6 +25,7 @@
101303038
101303039
101303040
101303042
101303043
101303205
101303206
......
......@@ -47,8 +47,8 @@ end
function s.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if ev<=1 then return false end
return not c:IsStatus(STATUS_BATTLE_DESTROYED) and Duel.IsChainDisablable(ev)
or Duel.IsChainDisablable(ev-1)
return not c:IsStatus(STATUS_BATTLE_DESTROYED)
and (Duel.IsChainDisablable(ev) or Duel.IsChainDisablable(ev-1))
end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsChainDisablable(ev)
......@@ -73,13 +73,13 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function s.disop(e,tp,eg,ep,ev,re,r,rp)
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)
end
else
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)
end
end
end
\ No newline at end of file
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