Commit 0052bbad authored by Tachibana's avatar Tachibana

ndyd

parent 9e9e45d1
...@@ -60,10 +60,10 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,10 +60,10 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.indfilter(c) function cm.indfilter(c)
return c:IsFaceup() and not c:IsStatus(STATUS_BATTLE_DESTROYED) and not c:IsHasEffect(EFFECT_INDESTRUCTABLE_BATTLE) return c:IsFaceup() and c:GetFlagEffect(81024033)==0
end end
function cm.indtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.indtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and cm.indfilter(chkc) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and cm.indfilter(chkc) and chkc~=e:GetHandler() end
if chk==0 then return Duel.IsExistingTarget(cm.indfilter,tp,LOCATION_MZONE,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingTarget(cm.indfilter,tp,LOCATION_MZONE,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,cm.indfilter,tp,LOCATION_MZONE,0,1,1,e:GetHandler()) Duel.SelectTarget(tp,cm.indfilter,tp,LOCATION_MZONE,0,1,1,e:GetHandler())
......
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