Commit ef34b1bf authored by GuGu's avatar GuGu

Update c50346.lua 没有火元素附着的bug

parent ebd5d9cd
Pipeline #22226 passed with stage
in 1 minute and 57 seconds
...@@ -31,6 +31,7 @@ function c50346.bop(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,6 +31,7 @@ function c50346.bop(e,tp,eg,ep,ev,re,r,rp)
local genso,count=TET.ELCounter.Get(1-tp) local genso,count=TET.ELCounter.Get(1-tp)
if genso==50219 and count>1 then num=3-count end if genso==50219 and count>1 then num=3-count end
if num<0 then num=0 end if num<0 then num=0 end
TET.ELCounter.Add(nil,1-tp,50219,num,e)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
......
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