Commit 89e7c1f6 authored by mercury233's avatar mercury233 Committed by GitHub

fix 軌跡の魔術師

parent 4762e549
...@@ -105,15 +105,12 @@ function c22125101.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -105,15 +105,12 @@ function c22125101.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
end end
end end
function c22125101.cfilter1(c,g) function c22125101.cfilter(c,eg)
return c:IsFaceup() and c:IsSummonType(SUMMON_TYPE_PENDULUM) and g:IsContains(c) and g:IsExists(c22125101.cfilter2,1,c,c) return c:IsFaceup() and c:IsSummonType(SUMMON_TYPE_PENDULUM) and c:GetOriginalLevel()>0 and eg:IsContains(c)
end
function c22125101.cfilter2(c,lc)
return c:IsFaceup() and c:IsSummonType(SUMMON_TYPE_PENDULUM) and c:GetLevel()~=lc:GetLevel()
end end
function c22125101.descon(e,tp,eg,ep,ev,re,r,rp) function c22125101.descon(e,tp,eg,ep,ev,re,r,rp)
local lg=e:GetHandler():GetLinkedGroup() local g=e:GetHandler():GetLinkedGroup():Filter(c22125101.cfilter,nil,eg)
return lg and eg:IsExists(c22125101.cfilter1,1,nil,lg) and not eg:IsContains(e:GetHandler()) return #g==2 and g:GetClassCount(Card.GetOriginalLevel)==2
end end
function c22125101.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c22125101.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() end if chkc then return chkc:IsOnField() 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