Commit 93a3e1a5 authored by 聖園ミカ's avatar 聖園ミカ 🐟

vme50

parent 938ac7d5
...@@ -36,19 +36,19 @@ function c96026035.initial_effect(c) ...@@ -36,19 +36,19 @@ function c96026035.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c96026035.hspfilter(c,tp,sc) function c96026035.hspfilter(c,tp,sc)
return c:IsOriginalCodeRule(96026004) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0 return c:IsOriginalCodeRule(96026004) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0 and not (c:IsFacedown() and c:IsLocation(LOCATION_MZONE))
and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL)
end end
function c96026035.hspcon(e,c) function c96026035.hspcon(e,c)
local c=e:GetHandler() local c=e:GetHandler()
if c==nil then return true end if c==nil then return true end
return Duel.CheckReleaseGroupEx(c:GetControler(),c96026035.hspfilter,1,REASON_SPSUMMON,false,nil,c:GetControler(),c) local tp=e:GetHandler():GetControler()
return Duel.IsExistingMatchingCard(c96026035.hspfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,nil,tp,c)
end end
function c96026035.hspop(e,tp,eg,ep,ev,re,r,rp,c) function c96026035.hspop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local tp=e:GetHandler():GetControler()
local g=Duel.SelectReleaseGroupEx(tp,c96026035.hspfilter,1,1,REASON_SPSUMMON,false,nil,tp,c) Duel.Hint(3,tp,HINTMSG_RELEASE)
c:SetMaterial(g) local g=Duel.SelectMatchingCard(tp,c96026035.hspfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,1,nil,tp,e:GetHandler())
Duel.Release(g,REASON_SPSUMMON) Duel.Release(g,REASON_COST)
end end
function c96026035.q(c,e,tp) function c96026035.q(c,e,tp)
return c:IsCode(96026001) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 return c:IsCode(96026001) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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