Commit 161c21f4 authored by Fluorohydride's avatar Fluorohydride

Merge pull request #580 from woodee/patch-23

fix
parents 7c76f158 e46655ac
......@@ -42,12 +42,15 @@ function c18114794.checkop(e,tp,eg,ep,ev,re,r,rp)
c18114794[2]=Duel.GetTurnCount()
end
local tc=eg:GetFirst()
if tc then
local sp=tc:GetSummonPlayer()
c18114794[sp]=c18114794[sp]+1
if c18114794[sp]==3 and sp==turnp then
Duel.RaiseEvent(e:GetHandler(),18114794,e,0,0,0,0)
end
local sp=tc:GetSummonPlayer()
local addtime=0
while tc do
if sp==turnp then addtime=1 end
tc=eg:GetNext()
end
c18114794[sp]=c18114794[sp]+addtime
if c18114794[sp]==3 and sp==turnp then
Duel.RaiseEvent(e:GetHandler(),18114794,e,0,0,0,0)
end
end
function c18114794.condition(e,tp,eg,ep,ev,re,r,rp)
......
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