Commit e728dd43 authored by songtongtong's avatar songtongtong

BUG FIX

parent 21fe9486
Pipeline #22314 passed with stages
in 21 minutes and 41 seconds
......@@ -46,7 +46,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local cost=te:GetCost()
local target=te:GetTarget()
local operation=te:GetOperation()
if te:GetCode()==EVENT_FREE_CHAIN or te:IsActivatable(tep)
if (te:GetCode()==EVENT_FREE_CHAIN or te:IsActivatable(tep))
and (not condition or condition(te,tep,eg,ep,ev,re,r,rp))
and (not cost or cost(te,tep,eg,ep,ev,re,r,rp,0))
and (not target or target(te,tep,eg,ep,ev,re,r,rp,0)) and Duel.SelectYesNo(tp,aux.Stringid(m,2)) 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