Commit 6f8447f7 authored by DailyShana's avatar DailyShana

fix

parent f07b614b
...@@ -14,7 +14,8 @@ function c8529136.filter(c) ...@@ -14,7 +14,8 @@ function c8529136.filter(c)
end end
function c8529136.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c8529136.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c8529136.filter(chkc) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c8529136.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c8529136.filter,tp,LOCATION_MZONE,0,1,nil) and bit.band(Duel.GetCurrentPhase(),0xc0)==0 end if chk==0 then return bit.band(Duel.GetCurrentPhase(),0xc0)==0
and Duel.IsExistingTarget(c8529136.filter,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,c8529136.filter,tp,LOCATION_MZONE,0,1,1,nil) Duel.SelectTarget(tp,c8529136.filter,tp,LOCATION_MZONE,0,1,1,nil)
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