Commit 4d7f7a0f authored by GuGu's avatar GuGu

Update c34045.lua

parent 852768a8
Pipeline #32960 passed with stage
in 10 seconds
......@@ -46,16 +46,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.SendtoDeck(sg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)==0 then return end
-- 分类统计
local code_count=0
local rock_count=0
for tc in aux.Next(sg) do
if tc:IsSetCard(0x830) then
code_count=code_count+1
end
if tc:IsRace(RACE_ROCK) then
rock_count=rock_count+1
end
end
local sg2=Duel.GetOperatedGroup()
local code_count=sg2:FilterCount(Card.IsSetCard,nil,0x830)
local rock_count=sg2:FilterCount(Card.IsRace,nil,RACE_ROCK)
-- 抽卡效果
local draw_count=math.floor(code_count/4)
......
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