Commit 8ac5a3b7 authored by wyykak's avatar wyykak

Merge branch 'patch-3' into 'master'

Update c50346.lua 可莉火元素

See merge request !16
parents ff4277c2 5fe28f2c
Pipeline #14202 passed with stage
in 45 seconds
......@@ -29,8 +29,9 @@ end
function c50346.bop(e,tp,eg,ep,ev,re,r,rp)
local num=2
local genso,count=TET.ELCounter.Get(1-tp)
if genso==50219 and count>0 then num=2-count end
if genso==50219 and count>1 then num=3-count end
if num<0 then num=0 end
TET.ELCounter.Add(nil,1-tp,50219,num,e)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
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