View Single Post
  #3  
Old 12-26-2014, 08:19 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Code:
const ItemInst *wpn = CastToClient()->GetInv().GetItem(MainPrimary);
bool havePiercer = wpn && (wpn->GetItem()->ItemType == ItemType1HPiercing || wpn->GetItem()->ItemType == ItemType2HPiercing);
Typed in notepad, not compiled.
Reply With Quote