Commit 7d89f44b authored by GuGu's avatar GuGu

Update c26106.lua 禁止令适配

parent 99cce148
Pipeline #22536 passed with stage
in 44 seconds
......@@ -91,7 +91,7 @@ function c26106.eqcon(e)
return not e:GetHandler():GetEquipGroup():IsExists(c26106.eqfilter,1,nil)
end
function c26106.filter(c)
return c:IsSetCard(0x251b)
return c:IsSetCard(0x251b) and (c:IsOnField() or not c:IsForbidden())
end
function c26106.eqtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
......
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