Add judgeAttack which needs to call gotAttacked(id, damage) in CharacterManageSystem