Commit 25ee815e authored by GuGu's avatar GuGu

Update c74563610.lua

parent 25fc71bd
......@@ -41,7 +41,7 @@ function c74563610.cost1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chk==0 then
local sel=0
if Duel.IsExistingMatchingCard(Card.IsAbleToRemoveAsCost,tp,LOCATION_ONFIELD+LOCATION_HAND,0,2,nil,e:GetHandler()) then sel=sel+1 end
if Duel.IsExistingMatchingCard(Card.IsAbleToRemoveAsCost,tp,LOCATION_ONFIELD+LOCATION_HAND,0,2,e:GetHandler()) then sel=sel+1 end
if Duel.CheckLPCost(tp,3666) or (Duel.CheckLPCost(tp,666) and Duel.IsPlayerAffectedByEffect(tp,74563666)) then sel=sel+2 end
e:SetLabel(sel)
return sel~=0
......@@ -74,7 +74,7 @@ function c74563610.target(e,tp,eg,ep,ev,re,r,rp,chk)
local count=sg:GetCount()
local count1=0
if count%3~=0 then
count1=(count//3+1)*2
count1=count//3*2+1
else
count1=count//3*2
end
......@@ -85,7 +85,7 @@ function c74563610.activate(e,tp,eg,ep,ev,re,r,rp)
local count=sg:GetCount()
local count1=0
if count%3~=0 then
count1=(count//3+1)*2
count1=count//3*2+1
else
count1=count//3*2
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