Commit 09364617 authored by Tachibana's avatar Tachibana

watele

parent ec0707c7
Pipeline #6694 passed with stages
in 42 minutes and 17 seconds
...@@ -45,8 +45,22 @@ function cm.act(e,tp) ...@@ -45,8 +45,22 @@ function cm.act(e,tp)
-------------------- --------------------
end end
elseif op==2 then elseif op==2 then
if rsop.SelectToHand(tp,aux.NecroValleyFilter(cm.thfilter1),tp,LOCATION_GRAVE,0,1,1,nil,{})>0 then if rsop.SelectToHand(tp,aux.NecroValleyFilter(cm.thfilter1),tp,LOCATION_GRAVE,0,1,1,nil,{})>0
rsva.Summon(tp,true,true,rsva.filter_al) --VHisc Repairing 2021/11/6
and Duel.IsExistingMatchingCard(c65010203.sumfilter2,tp,LOCATION_HAND,0,1,nil)
and Duel.SelectYesNo(tp,aux.Stringid(65010201,2))
--------------------
then
--old version:
--rsva.Summon(tp,true,true,rsva.filter_al)
--------------------
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
local sg=Duel.SelectMatchingCard(tp,c65010203.sumfilter2,tp,LOCATION_HAND,0,1,1,nil)
if sg:GetCount()>0 then
Duel.Summon(tp,sg:GetFirst(),true,nil)
end
--------------------
end end
else else
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -71,7 +85,11 @@ function cm.effectfilter(e,ct) ...@@ -71,7 +85,11 @@ function cm.effectfilter(e,ct)
end end
--VHisc fix --Repairing 2021/10/12 and 2021/11/6
function c65010203.sumfilter(c) function c65010203.sumfilter(c)
return c:IsAttribute(ATTRIBUTE_WATER) and c:IsSummonable(true,nil) return c:IsAttribute(ATTRIBUTE_WATER) and c:IsSummonable(true,nil)
end end
function c65010203.sumfilter2(c)
return c:IsAttribute(ATTRIBUTE_WATER) and c:IsLevel(10) and c:IsSummonable(true,nil)
end
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