Commit 3dba7010 authored by wind2009's avatar wind2009

Fix 黒薔薇の華園

parent 0694368f
Pipeline #39994 passed with stages
in 3 minutes and 1 second
...@@ -90,7 +90,7 @@ add_script_diff: ...@@ -90,7 +90,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: '16.29' # 更新的时候改这里,修改成上一个tag的版本号 REF_COMMIT: '16.30' # 更新的时候改这里,修改成上一个tag的版本号
script: script:
- apt update;apt -y install wget - apt update;apt -y install wget
- currentPath=$PWD - currentPath=$PWD
......
...@@ -41,7 +41,6 @@ function s.initial_effect(c) ...@@ -41,7 +41,6 @@ function s.initial_effect(c)
end end
end end
function s.checkop(e,tp,eg,ep,ev,re,r,rp) function s.checkop(e,tp,eg,ep,ev,re,r,rp)
Debug.Message(eg:GetCount())
Duel.RaiseEvent(eg,EVENT_CUSTOM+id,re,r,rp,ep,ev) Duel.RaiseEvent(eg,EVENT_CUSTOM+id,re,r,rp,ep,ev)
end end
function s.thfilter(c) function s.thfilter(c)
...@@ -60,13 +59,14 @@ function s.cfilter(c) ...@@ -60,13 +59,14 @@ function s.cfilter(c)
return c:IsFaceupEx() and c:IsRace(RACE_PLANT) return c:IsFaceupEx() and c:IsRace(RACE_PLANT)
end end
function s.damcon(e,tp,eg,ep,ev,re,r,rp) function s.damcon(e,tp,eg,ep,ev,re,r,rp)
if not re then return true end
local c=e:GetHandler() local c=e:GetHandler()
if not eg:IsContains(c) then return false end if not eg:IsContains(c) then return false end
if not re or not re:IsActivated() then return true end
local rc=re:GetHandler() local rc=re:GetHandler()
if c:IsReason(REASON_EFFECT) and re:IsActivated() if not rc then return true end
if c:IsReason(REASON_EFFECT)
and (eg:IsContains(re:GetHandler()) and rc:GetPreviousCodeOnField()==73580471 and (eg:IsContains(re:GetHandler()) and rc:GetPreviousCodeOnField()==73580471
or rc:IsCode(73580471)) then or not eg:IsContains(re:GetHandler()) and rc:IsCode(73580471)) then
e:SetLabel(1) e:SetLabel(1)
else else
e:SetLabel(0) e:SetLabel(0)
......
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