Commit f60bcb4d authored by GuGu's avatar GuGu

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

parent ac5298ce
Pipeline #22539 passed with stage
in 1 minute and 16 seconds
...@@ -64,7 +64,7 @@ function c60151319.setcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -64,7 +64,7 @@ function c60151319.setcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():GetOverlayGroup():IsExists(c60151319.cfilter,1,nil) return not e:GetHandler():GetOverlayGroup():IsExists(c60151319.cfilter,1,nil)
end end
function c60151319.dfilter(c) function c60151319.dfilter(c)
return c:IsType(TYPE_EQUIP) and c:IsReleasable() and c:IsFaceup() return (c:IsType(TYPE_EQUIP) or c:IsLocation(LOCATION_PZONE) and c:GetEquipTarget()) and c:IsReleasable() and c:IsFaceup()
end end
function c60151319.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c60151319.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) and Duel.IsExistingMatchingCard(c60151319.dfilter,tp,LOCATION_ONFIELD,0,1,nil) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) and Duel.IsExistingMatchingCard(c60151319.dfilter,tp,LOCATION_ONFIELD,0,1,nil) 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