Commit e0fe42fc authored by Grajade's avatar Grajade

Update c50210.lua

parent 620fd3fe
Pipeline #11156 passed with stage
in 37 seconds
...@@ -52,8 +52,7 @@ end ...@@ -52,8 +52,7 @@ end
function c50210.cop(e,tp,eg,ep,ev,re,r,rp) function c50210.cop(e,tp,eg,ep,ev,re,r,rp)
local num=1 local num=1
local genso,count=TET.ELCounter.Get(1-tp) local genso,count=TET.ELCounter.Get(1-tp)
if genso==50210 and count>1 then num=4-count end if genso==50210 and count>3 then num=0 end
if num<0 then num=0 end
TET.ELCounter.Add(nil,1-tp,50210,num,e) TET.ELCounter.Add(nil,1-tp,50210,num,e)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
......
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