Commit 8aa1103f authored by GuGu's avatar GuGu

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

parent bb2aec61
Pipeline #22534 passed with stage
in 1 minute and 15 seconds
......@@ -66,7 +66,7 @@ function c20229.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
end
function c20229.eqfilter(c,ec)
return c:IsType(TYPE_EQUIP) and c:GetEquipTarget() and c:GetEquipTarget()~=ec and c:CheckEquipTarget(ec)
return (c:IsType(TYPE_EQUIP) or c:IsLocation(LOCATION_PZONE)) and c:GetEquipTarget() and c:GetEquipTarget()~=ec and c:CheckEquipTarget(ec)
end
function c20229.gsfilter(c,tp)
return c:IsFaceup() and Duel.IsExistingMatchingCard(c20229.eqfilter,tp,LOCATION_SZONE,0,1,nil,c)
......
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