Commit 59ea1f8b authored by Tachibana's avatar Tachibana

eme

parent b99e8501
Pipeline #6428 failed with stages
in 1 minute and 12 seconds
No preview for this file type
......@@ -205,21 +205,21 @@ function XY.mayuribfcon(e)
end
function XY.mayuriregop(e,tp,eg,ep,ev,re,r,rp)
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
function XY.mayuriregcon(e,tp,eg,ep,ev,re,r,rp)
return re:GetHandler()==e:GetHandler()
end
function XY.mayuriregop1(e,tp,eg,ep,ev,re,r,rp)
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
function XY.mayuriregop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local fs=c:GetFlagEffect(c:GetCode())
c:ResetFlagEffect(c:GetCode())
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
--sp
......
......@@ -34,7 +34,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e6)
end
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
function cm.con(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
......
......@@ -33,7 +33,7 @@ function cm.intg(e,c)
end
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
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
......
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