Commit 27d9d7d4 authored by mercury233's avatar mercury233 Committed by GitHub

fix 拡散する波動

parent b9134beb
......@@ -12,7 +12,7 @@ function c87880531.initial_effect(c)
c:RegisterEffect(e1)
end
function c87880531.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP()
return Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>0
end
function c87880531.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) end
......@@ -23,7 +23,7 @@ function c87880531.filter(c)
end
function c87880531.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c87880531.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c87880531.filter,tp,LOCATION_MZONE,0,1,nil) end
if chk==0 then return Duel.IsAbleToEnterBP() and Duel.IsExistingTarget(c87880531.filter,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,c87880531.filter,tp,LOCATION_MZONE,0,1,1,nil)
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