Commit 6d05e605 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent c10a24b3
...@@ -69,7 +69,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,7 +69,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function s.thfilter(c) function s.thfilter(c)
return c:IsType(TYPE_PENDULUM) and c:IsAbleToHand() return c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and c.MoJin==true
end end
function s.damcon(e,tp,eg,ep,ev,re,r,rp) function s.damcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_GRAVE,0,1,nil) return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_GRAVE,0,1,nil)
...@@ -109,7 +109,7 @@ function s.gsptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -109,7 +109,7 @@ function s.gsptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,nil,1,tp,LOCATION_EXTRA+LOCATION_REMOVED) Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,nil,1,tp,LOCATION_EXTRA+LOCATION_REMOVED)
end end
function s.eqfilter(c) function s.eqfilter(c)
return c:IsFaceupEx() and c.MoJin==true and not c:IsForbidden() return c:IsFaceupEx() and c.MoJin==true and not c:IsForbidden() and not c:IsCode(5012632)
end end
function s.gspop(e,tp,eg,ep,ev,re,r,rp) function s.gspop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -51,8 +51,9 @@ function c50224540.damfilter(c,e,tp) ...@@ -51,8 +51,9 @@ function c50224540.damfilter(c,e,tp)
if not c:IsPreviousLocation(LOCATION_MZONE) or not c:IsPreviousControler(1-tp) then return false end if not c:IsPreviousLocation(LOCATION_MZONE) or not c:IsPreviousControler(1-tp) then return false end
local seq=c:GetPreviousSequence() local seq=c:GetPreviousSequence()
if seq==5 then seq=1 elseif seq==6 then seq=3 end if seq==5 then seq=1 elseif seq==6 then seq=3 end
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousControler(1-tp) local cseq=e:GetHandler():GetSequence()
and e:GetHandler():GetSequence()==(4-seq) if cseq==5 then cseq=1 elseif cseq==6 then cseq=3 end
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousControler(1-tp) and cseq==(4-seq)
end end
function c50224540.damcon(e,tp,eg,ep,ev,re,r,rp) function c50224540.damcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c50224540.damfilter,1,nil,e,tp) return eg:IsExists(c50224540.damfilter,1,nil,e,tp)
......
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