I'm not sure how the coding will work, but when applying a glamour, isn't it just putting up the graphic of the gear in question onto your character? Is there a need to check for the specific stats of the gear?