Commit b9e71bea authored by Tachibana's avatar Tachibana

ndyd

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