Commit ac5298ce authored by GuGu's avatar GuGu

Update c14000559.lua 灵摆区装备卡适配

parent 8a0ab630
Pipeline #22538 passed with stage
in 1 minute and 8 seconds
......@@ -55,7 +55,7 @@ function cm.thfilter(c,code)
return c:IsCode(code) and c:IsAbleToHand() and (c:IsFaceup() or c:IsLocation(LOCATION_DECK))
end
function cm.tgfilter(c,tp)
return c:IsFaceup() and c:IsType(TYPE_EQUIP) and Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,1,nil,c:GetCode())
return c:IsFaceup() and (c:IsType(TYPE_EQUIP) or c:IsLocation(LOCATION_PZONE) and c:GetEquipTarget()) and Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,1,nil,c:GetCode())
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_ONFIELD) and cm.tgfilter(chkc,tp) end
......
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