Commit 59ea1f8b authored by Tachibana's avatar Tachibana

eme

parent b99e8501
No preview for this file type
...@@ -205,21 +205,21 @@ function XY.mayuribfcon(e) ...@@ -205,21 +205,21 @@ function XY.mayuribfcon(e)
end end
function XY.mayuriregop(e,tp,eg,ep,ev,re,r,rp) function XY.mayuriregop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
c:RegisterFlagEffect(c:GetCode(),RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,nil,0,aux.Stringid(33401601,0)) c:RegisterFlagEffect(c:GetCode(),RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,0,0,aux.Stringid(33401601,0))
end end
function XY.mayuriregcon(e,tp,eg,ep,ev,re,r,rp) function XY.mayuriregcon(e,tp,eg,ep,ev,re,r,rp)
return re:GetHandler()==e:GetHandler() return re:GetHandler()==e:GetHandler()
end end
function XY.mayuriregop1(e,tp,eg,ep,ev,re,r,rp) function XY.mayuriregop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
c:RegisterFlagEffect(c:GetCode(),RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,nil,0,aux.Stringid(33401601,0)) c:RegisterFlagEffect(c:GetCode(),RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,0,0,aux.Stringid(33401601,0))
end end
function XY.mayuriregop2(e,tp,eg,ep,ev,re,r,rp) function XY.mayuriregop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local fs=c:GetFlagEffect(c:GetCode()) local fs=c:GetFlagEffect(c:GetCode())
c:ResetFlagEffect(c:GetCode()) c:ResetFlagEffect(c:GetCode())
for i=1,fs-1 do for i=1,fs-1 do
c:RegisterFlagEffect(c:GetCode(),RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,nil,0,aux.Stringid(33401601,0)) c:RegisterFlagEffect(c:GetCode(),RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,0,0,aux.Stringid(33401601,0))
end end
end end
--sp --sp
......
...@@ -34,7 +34,7 @@ function cm.initial_effect(c) ...@@ -34,7 +34,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e6) c:RegisterEffect(e6)
end end
function cm.ckfilter2(c,at) function cm.ckfilter2(c,at)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:IsAttribute(at) return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:GetAttribute()&at~=0
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
......
...@@ -33,7 +33,7 @@ function cm.intg(e,c) ...@@ -33,7 +33,7 @@ function cm.intg(e,c)
end end
function cm.refilter(c) function cm.refilter(c)
return c:IsAbleToRemove() and c:IsSetCard(0x6344) and c:IsType(TYPE_MONSTER) and c:IsFaceup() return c:IsAbleToRemove() and c:IsSetCard(0x6344) and c:IsType(TYPE_MONSTER)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingMatchingCard(cm.refilter,tp,LOCATION_MZONE+LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.refilter,tp,LOCATION_MZONE+LOCATION_HAND,0,1,nil) 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