Commit e2d7b704 authored by 聖園ミカ's avatar 聖園ミカ 🐟

wdnmd

parent ca575f1d
Pipeline #25852 passed with stages
in 19 minutes and 19 seconds
......@@ -21,7 +21,7 @@ function c65030019.initial_effect(c)
e2:SetDescription(aux.Stringid(65030019,0))
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION_HAND,0)
e2:SetTargetRange(0,LOCATION_HAND)
e2:SetCode(EFFECT_SUMMON_PROC)
e2:SetCondition(c65030019.ntcon)
e2:SetTarget(c65030019.nttg)
......@@ -66,9 +66,9 @@ function c65030019.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function c65030019.ntcon(e,c,minc)
local tp=c:GetControler()
function c65030019.ntcon(e,c,minc)
if c==nil then return true end
local tp=c:GetControler()
return minc==0 and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 and Duel.GetMatchingGroupCount(c65030019.actconfil,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)==0 and Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)==0
end
function c65030019.nttg(e,c)
......
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