Commit 6417c9f7 authored by POLYMER's avatar POLYMER

fix

parent fa6d7820
...@@ -38,7 +38,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -38,7 +38,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(cm.cfilter,tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(cm.cfilter,tp,LOCATION_GRAVE,0,nil)
if chk==0 then return #g>2 and g:IsExists(Card.IsCode,1,nil,14000358) end if chk==0 then return #g>2 and g:IsExists(Card.IsCode,1,nil,14000358) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local tg=g:FilterSelect(tp,Card.IsCode,tp,1,1,nil,14000358) local tg=g:FilterSelect(tp,Card.IsCode,1,1,nil,14000358)
local tg1=g:Select(tp,2,2,tg) local tg1=g:Select(tp,2,2,tg)
tg:Merge(tg1) tg:Merge(tg1)
Duel.SendtoDeck(tg,nil,2,REASON_COST) Duel.SendtoDeck(tg,nil,2,REASON_COST)
......
...@@ -59,6 +59,7 @@ function cm.cefilter(c,e,tp,eg,ep,ev,re,r,rp) ...@@ -59,6 +59,7 @@ function cm.cefilter(c,e,tp,eg,ep,ev,re,r,rp)
if not m then return false end if not m then return false end
local te=m.release_effect local te=m.release_effect
local tg=nil local tg=nil
if not te then return false end
if te then if te then
tg=te:GetTarget() tg=te:GetTarget()
end end
......
...@@ -25,9 +25,8 @@ end ...@@ -25,9 +25,8 @@ end
function c9310012.activate(e,tp,eg,ep,ev,re,r,rp) function c9310012.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
local c=e:GetHandler() local c=e:GetHandler()
if tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) then if tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) and
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP_DEFENSE) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP_DEFENSE)~=0 then
end
if tc:IsSetCard(0x3f91) then if tc:IsSetCard(0x3f91) then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
...@@ -67,6 +66,7 @@ function c9310012.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,6 +66,7 @@ function c9310012.activate(e,tp,eg,ep,ev,re,r,rp)
e7:SetReset(RESET_PHASE+PHASE_END) e7:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e7,tp) Duel.RegisterEffect(e7,tp)
end end
end
end end
function c9310012.fuslimit(e,c,sumtype) function c9310012.fuslimit(e,c,sumtype)
return sumtype==SUMMON_TYPE_FUSION return sumtype==SUMMON_TYPE_FUSION
......
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