Commit 8a2c7968 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent a3a5f3ab
Pipeline #540 passed with stages
in 42 minutes and 55 seconds
......@@ -56,6 +56,7 @@ function tayu_frtlk.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local th=Duel.SelectMatchingCard(tp,Card.IsAbleToRemoveAsCost,tp,LOCATION_HAND,0,d*2,d*2,nil)
Duel.Remove(th,POS_FACEUP,REASON_EFFECT)
local pp=Duel.GetOperatedGroup()
local tc=th:GetFirst()
while tc do
local e1=Effect.CreateEffect(e:GetHandler())
......@@ -66,6 +67,9 @@ function tayu_frtlk.thop(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e1)
tc=th:GetNext()
end
if pp:FilterCount(Card.IsRace,nil,RACE_SEASERPENT)==pp:GetCount() and Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)>0 and tayu_frtlk.thop(e,tp,eg,ep,ev,re,r,rp) then
tayu_frtlk.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function tayu_frtlk.summon_effect(c,mm,cate,con,tg,op)
--to hand
......@@ -135,4 +139,4 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if th:GetCount()>4 then
Duel.Draw(tp,1,REASON_EFFECT)
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