Commit dae595ec authored by wind2009's avatar wind2009

Fix 暗黒海龍-ドライアグル

parent b1512867
Pipeline #30213 passed with stages
in 1 minute and 20 seconds
...@@ -53,6 +53,7 @@ function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -53,6 +53,7 @@ function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk) function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
if e:GetLabel()==100 then if e:GetLabel()==100 then
e:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DAMAGE) e:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DAMAGE)
elseif e:GetLabel()==200 then elseif e:GetLabel()==200 then
......
...@@ -24,7 +24,7 @@ function s.initial_effect(c) ...@@ -24,7 +24,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function s.cfilter(c) function s.cfilter(c)
return c:IsFaceup() and c:IsRACE(RACE_CYBERSE) and c:IsType(TYPE_LINK) return c:IsFaceup() and c:IsRace(RACE_CYBERSE) and c:IsType(TYPE_LINK)
end end
function s.checkzone(tp) function s.checkzone(tp)
local zone=0 local zone=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