added setInv, setEquip, totalDef, totalAtk, and totalPower methods to NPC