Commit 78e07f65 authored by Tachibana's avatar Tachibana

ndyd

parent 3a941b4d
......@@ -39,7 +39,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.actop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsAbleToHand,tp,0,LOCATION_ONFIELD,nil)
local g=Duel.GetMatchingGroup(Card.IsAbleToHand,tp,LOCATION_ONFIELD,0,nil)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
......
......@@ -72,7 +72,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_PUBLIC)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2)
tc:RegisterFlagEffect(12009060,RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,0,1,aux.Stringid(m,2))
tc=g:GetNext()
......@@ -98,10 +98,10 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.sumlimit(e,c)
return c:GetFlagEffect(m)
return c:GetFlagEffect(m)>0
end
function cm.aclimit(e,re,tp)
return re:GetHandler():GetFlagEffect(m) and re:IsActiveType(TYPE_MONSTER)
return re:GetHandler():GetFlagEffect(m)>0 and re:IsActiveType(TYPE_MONSTER)
end
......
......@@ -98,7 +98,7 @@ function c19500012.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if c.Mobius~=999 then Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST) else end
end
function c19500012.tfilter(c,tp)
return c:IsControler(tp) and c:IsSetCard(0x3990,0x3991)
return c:IsControler(tp) and c:IsSetCard(0x3990,0x3991) and c:IsLocation(LOCATION_GRAVE)
end
function c19500012.discon(e,tp,eg,ep,ev,re,r,rp)
if rp==tp or e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) then return false 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