Commit b9e71bea authored by Tachibana's avatar Tachibana

ndyd

parent f173286d
Pipeline #4604 passed with stages
in 28 minutes and 48 seconds
......@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e2:SetCode(EFFECT_CANNOT_RELEASE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetTargetRange(1,1)
e2:SetTarget(cm.tg)
e2:SetValue(cm.tg)
c:RegisterEffect(e2)
--
local e3=Effect.CreateEffect(c)
......@@ -41,8 +41,8 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
--
end
function cm.tg(e,c)
return c:IsSetCard(0x8fa) and c:GetOwner()~=c:GetControler()
function cm.tg(e,c,tp,sumtp)
return c:IsSetCard(0x8fa) and c:GetOwner()~=tp
end
function cm.atkfilter(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -155,12 +155,16 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e11:SetRange(LOCATION_MZONE)
e11:SetReset(RESET_EVENT+RESETS_STANDARD)
e11:SetCode(EFFECT_TO_GRAVE_REDIRECT)
e11:SetTargetRange(0,0xff)
e11:SetTargetRange(0xfe,0xff)
e11:SetValue(LOCATION_DECKBOT)
e11:SetTarget(cm.rmtg)
c:RegisterEffect(e11)
c:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,4))
end
end
function cm.rmtg(e,c)
return c:GetOwner()~=e:GetHandlerPlayer()
end
function cm.splimit(e,c)
return c:IsControler(e:GetHandlerPlayer())
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