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

wdnmd

parent ca575f1d
...@@ -21,7 +21,7 @@ function c65030019.initial_effect(c) ...@@ -21,7 +21,7 @@ function c65030019.initial_effect(c)
e2:SetDescription(aux.Stringid(65030019,0)) e2:SetDescription(aux.Stringid(65030019,0))
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION_HAND,0) e2:SetTargetRange(0,LOCATION_HAND)
e2:SetCode(EFFECT_SUMMON_PROC) e2:SetCode(EFFECT_SUMMON_PROC)
e2:SetCondition(c65030019.ntcon) e2:SetCondition(c65030019.ntcon)
e2:SetTarget(c65030019.nttg) e2:SetTarget(c65030019.nttg)
...@@ -66,9 +66,9 @@ function c65030019.atkop(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -66,9 +66,9 @@ function c65030019.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function c65030019.ntcon(e,c,minc) function c65030019.ntcon(e,c,minc)
local tp=c:GetControler()
if c==nil then return true end 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 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 end
function c65030019.nttg(e,c) 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