Commit 1d82a989 authored by POLYMER's avatar POLYMER

fix

parent 26d28191
......@@ -40,12 +40,12 @@ function c9910808.thfilter(c)
return c:IsSetCard(0x6951) and not c:IsLevel(5) and c:IsAbleToHand()
end
function c9910808.thcon(e,tp,eg,ep,ev,re,r,rp)
local ct=math.floor(Duel.GetFieldGroupCount(1-tp,0xe,0)/3)
return Duel.GetTurnCount()==e:GetLabel()+1 and ct>0 and Duel.IsExistingMatchingCard(c9910808.thfilter,tp,LOCATION_DECK,0,ct,nil)
return Duel.GetTurnCount()==e:GetLabel()+1
end
function c9910808.thop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,9910808)
local ct=math.floor(Duel.GetFieldGroupCount(1-tp,0xe,0)/3)
if ct==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c9910808.thfilter,tp,LOCATION_DECK,0,ct,ct,nil)
if #g>0 then
......
......@@ -73,8 +73,8 @@ function c9911060.rcop(e,tp,eg,ep,ev,re,r,rp)
if ct==0 or #tg==0 or aux.NecroValleyNegateCheck(tg) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local sg=tg:FilterSelect(tp,Card.IsAbleToHand,ct,ct,nil)
Duel.HintSelection(sg)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
tg:Sub(sg)
if #tg>0 then
Duel.SendtoDeck(tg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
......
......@@ -75,8 +75,8 @@ function c9911459.rcop(e,tp,eg,ep,ev,re,r,rp)
if #tg==0 or aux.NecroValleyNegateCheck(tg) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local sg=tg:FilterSelect(tp,Card.IsAbleToHand,1,1,nil)
Duel.HintSelection(sg)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
tg:Sub(sg)
if #tg>0 then
Duel.SendtoDeck(tg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
......
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