int pc_dropitem(struct map_session_data *sd,int n,int amount)find this function and then check that particular itemsd->status.inventory[n].card[0] and so on is a mvp card or not
should be just a few lines
and I don't have enough time recently to write stuffs