Commit 4e8aa608 authored by VforViolin's avatar VforViolin Committed by GitHub

Fusion response limitation fix (#2582)

parent 481c4bd3
...@@ -47,6 +47,7 @@ function c18973184.efilter(e,ct) ...@@ -47,6 +47,7 @@ function c18973184.efilter(e,ct)
end end
function c18973184.limfilter(c,tp) function c18973184.limfilter(c,tp)
return c:IsSummonPlayer(tp) and c:IsSummonType(SUMMON_TYPE_FUSION) return c:IsSummonPlayer(tp) and c:IsSummonType(SUMMON_TYPE_FUSION)
and c:GetSpecialSummonInfo(SUMMON_INFO_REASON_EFFECT):IsHasCategory(CATEGORY_FUSION_SUMMON)
end end
function c18973184.limcon(e,tp,eg,ep,ev,re,r,rp) function c18973184.limcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c18973184.limfilter,1,nil,tp) return eg:IsExists(c18973184.limfilter,1,nil,tp)
......
...@@ -49,6 +49,7 @@ function c47679935.efilter(e,ct) ...@@ -49,6 +49,7 @@ function c47679935.efilter(e,ct)
end end
function c47679935.limfilter(c,tp) function c47679935.limfilter(c,tp)
return c:IsSummonPlayer(tp) and c:IsSummonType(SUMMON_TYPE_FUSION) return c:IsSummonPlayer(tp) and c:IsSummonType(SUMMON_TYPE_FUSION)
and c:GetSpecialSummonInfo(SUMMON_INFO_REASON_EFFECT):IsHasCategory(CATEGORY_FUSION_SUMMON)
end end
function c47679935.limcon(e,tp,eg,ep,ev,re,r,rp) function c47679935.limcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c47679935.limfilter,1,nil,tp) return eg:IsExists(c47679935.limfilter,1,nil,tp)
......
...@@ -88,6 +88,7 @@ function c9069157.efilter(e,ct) ...@@ -88,6 +88,7 @@ function c9069157.efilter(e,ct)
end end
function c9069157.limfilter(c,tp) function c9069157.limfilter(c,tp)
return c:IsSummonPlayer(tp) and c:IsSummonType(SUMMON_TYPE_FUSION) return c:IsSummonPlayer(tp) and c:IsSummonType(SUMMON_TYPE_FUSION)
and c:GetSpecialSummonInfo(SUMMON_INFO_REASON_EFFECT):IsHasCategory(CATEGORY_FUSION_SUMMON)
end end
function c9069157.limcon(e,tp,eg,ep,ev,re,r,rp) function c9069157.limcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c9069157.limfilter,1,nil,tp) return eg:IsExists(c9069157.limfilter,1,nil,tp)
...@@ -134,4 +135,4 @@ function c9069157.rcop(e,tp,eg,ep,ev,re,r,rp) ...@@ -134,4 +135,4 @@ function c9069157.rcop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END)
c:RegisterEffect(e1) c:RegisterEffect(e1)
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