Commit 7b908536 authored by Tachibana's avatar Tachibana

E

parent 506466eb
Pipeline #16121 passed with stages
in 32 minutes and 24 seconds
No preview for this file type
......@@ -35,13 +35,14 @@ function c66914000.condition(e,tp,eg,ep,ev,re,r,rp)
end
function c66914000.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local count=0
for i=1,ev do
local chain=Duel.GetCurrentChain()
for i=1,chain do
local te,tgp=Duel.GetChainInfo(i,CHAININFO_TRIGGERING_EFFECT,CHAININFO_TRIGGERING_PLAYER)
if tgp==tp then
count=count+1
end
end
if chk==0 then return count<3 or Duel.IsPlayerCanDraw(tp,1) end
if chk==0 then return (count<3 or Duel.IsPlayerCanDraw(tp,1)) end
local cat=0
if count>=2 then
cat=cat|CATEGORY_DAMAGE
......
......@@ -52,7 +52,6 @@ function c66914008.activate(e,tp,eg,ep,ev,re,r,rp)
dg:AddCard(tc)
end
end
Debug.Message(dg:GetCount())
if dg:GetCount()>=1 then
Duel.Damage(1-tp,count*1500,REASON_EFFECT)
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