Commit 7c132112 authored by Amiya's avatar Amiya

修复

parent b3cdc46e
Pipeline #31744 failed with stages
in 1 minute and 46 seconds
...@@ -11,6 +11,7 @@ function s.initial_effect(c) ...@@ -11,6 +11,7 @@ function s.initial_effect(c)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,id) e1:SetCountLimit(1,id)
e1:SetCondition(s.mtcon)
e1:SetTarget(s.mttg) e1:SetTarget(s.mttg)
e1:SetOperation(s.mtop) e1:SetOperation(s.mtop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
...@@ -36,6 +37,9 @@ function s.initial_effect(c) ...@@ -36,6 +37,9 @@ function s.initial_effect(c)
e4:SetCode(EFFECT_UPDATE_DEFENSE) e4:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function s.mtcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end
function s.mfilter(c,xyzc) function s.mfilter(c,xyzc)
return c:IsXyzType(TYPE_XYZ) and c:IsRank(7) return c:IsXyzType(TYPE_XYZ) and c:IsRank(7)
end 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