Commit 1e7621a7 authored by Amiya's avatar Amiya

修复

parent 1a00ce4b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
aux.AddCodeList(c,101305044,101305027,101305028) aux.AddCodeList(c,101305044,101305027,101305028)
aux.AddRitualProcEqual2(c,s.rfilter,nil,aux.TURE) aux.AddRitualProcGreater2(c,s.rfilter,nil,s.mfilter)
--salvage --salvage
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1)) e2:SetDescription(aux.Stringid(id,1))
...@@ -17,6 +17,9 @@ end ...@@ -17,6 +17,9 @@ end
function s.rfilter(c) function s.rfilter(c)
return c:IsCode(101305027,101305028) return c:IsCode(101305027,101305028)
end end
function s.mfilter(c)
return c:IsAbleToRemove()
end
function s.thfilter(c) function s.thfilter(c)
return aux.IsCodeListed(c,101305044) and c:IsAbleToHand() return aux.IsCodeListed(c,101305044) and c:IsAbleToHand()
end end
......
...@@ -25,7 +25,6 @@ function s.initial_effect(c) ...@@ -25,7 +25,6 @@ function s.initial_effect(c)
e3:SetType(EFFECT_TYPE_QUICK_O) e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING) e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_SZONE) e3:SetRange(LOCATION_SZONE)
e3:SetCountLimit(1,id)
e3:SetCondition(s.spcon) e3:SetCondition(s.spcon)
e3:SetCost(s.spcost) e3:SetCost(s.spcost)
e3:SetTarget(s.sptg) e3:SetTarget(s.sptg)
...@@ -86,6 +85,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -86,6 +85,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp,e:GetLabel()) local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp,e:GetLabel())
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,true,false,POS_FACEUP)
end end
end end
\ No newline at end of file
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