Commit a7a911c9 authored by 想象力很好的毛虫's avatar 想象力很好的毛虫 Committed by GitHub

Fix aux.IsSelfEquip (#2930)

parent 99ce9f78
......@@ -1904,7 +1904,10 @@ end
---@param id integer
---@return boolean
function Auxiliary.IsSelfEquip(c,id)
return c:GetEquipGroup():IsExists(Card.GetFlagEffect,1,nil,id)
return c:GetEquipGroup():IsExists(Auxiliary.SelfEquipFilter,1,nil,id)
end
function Auxiliary.SelfEquipFilter(c,id)
return c:GetFlagEffect(id)>0
end
---Orcustrated Babel
---@param c Card
......
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