Commit 00ae5100 authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent e60b2ace
...@@ -35,12 +35,12 @@ function c94599451.initial_effect(c) ...@@ -35,12 +35,12 @@ function c94599451.initial_effect(c)
e4:SetOperation(c94599451.repop) e4:SetOperation(c94599451.repop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c94599451.ctfilter(c) function c94599451.ctfilter(c,tp)
return c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousControler()==tp
and bit.band(c:GetPreviousTypeOnField(),TYPE_PENDULUM)~=0 and c:IsPreviousSetCard(0x10d) and bit.band(c:GetPreviousTypeOnField(),TYPE_PENDULUM)~=0 and c:IsPreviousSetCard(0x10d)
end end
function c94599451.ctcon(e,tp,eg,ep,ev,re,r,rp) function c94599451.ctcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c94599451.ctfilter,1,nil) return eg:IsExists(c94599451.ctfilter,1,nil,tp)
end end
function c94599451.ctop(e,tp,eg,ep,ev,re,r,rp) function c94599451.ctop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():AddCounter(0x1,2) e:GetHandler():AddCounter(0x1,2)
......
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