Modified CharacterObject and AttackObject so that attacks from a character wouldn't hurt itself