const ItemInst *wpn = CastToClient()->GetInv().GetItem(MainPrimary); bool havePiercer = wpn && (wpn->GetItem()->ItemType == ItemType1HPiercing || wpn->GetItem()->ItemType == ItemType2HPiercing);