Commit 21fe9486 authored by songtongtong's avatar songtongtong

bug fix

parent b1057ced
Pipeline #22313 passed with stages
in 20 minutes and 25 seconds
...@@ -46,7 +46,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local cost=te:GetCost() local cost=te:GetCost()
local target=te:GetTarget() local target=te:GetTarget()
local operation=te:GetOperation() local operation=te:GetOperation()
if te:GetCode()==EVENT_FREE_CHAIN and 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 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 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 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