Commit fba4ec71 authored by DailyShana's avatar DailyShana

20TH

parent 596d1081
--Elemental HERO Nebula Neos
--E・HERO ネビュラ・ネオス
function c40080312.initial_effect(c)
--fusion material
c:EnableReviveLimit()
......@@ -42,7 +42,6 @@ function c40080312.initial_effect(c)
e5:SetCategory(CATEGORY_DRAW+CATEGORY_DISABLE)
e5:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e5:SetCode(EVENT_SPSUMMON_SUCCESS)
e5:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e5:SetCondition(c40080312.drcon)
e5:SetTarget(c40080312.drtg)
e5:SetOperation(c40080312.drop)
......@@ -123,9 +122,9 @@ function c40080312.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_EXTRA)
end
function c40080312.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD)
if chk==0 then return true end
Duel.SetTargetPlayer(tp)
local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,ct)
end
function c40080312.drop(e,tp,eg,ep,ev,re,r,rp)
......
--Junk Speeder
--ジャンク・スピーダー
function c77075360.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c77075360.tfilter,aux.NonTuner(nil),1)
......@@ -54,10 +54,8 @@ function c77075360.filter(c,e,tp)
return c:IsSetCard(0x1017) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
function c77075360.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local ct=Duel.GetLocationCount(tp,LOCATION_MZONE,tp,LOCATION_REASON_TOFIELD)
return ct>0 and Duel.IsExistingMatchingCard(c77075360.filter,tp,LOCATION_DECK,0,1,nil,e,tp)
end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c77075360.filter,tp,LOCATION_DECK,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end
function c77075360.spop(e,tp,eg,ep,ev,re,r,rp)
......
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